- Issue created by @jdhildeb
- 🇦🇹Austria granik Vienna
@jdhildeb, thanks for creating this issue. I would say a good solution is adding a module setting "Rename link position" with options "under the widget" and "next to remove button". Also add a description that the second option can have display problems with non-claro themes. What do you think, is this a good solution?
- 🇯🇵Japan ilfelice
Howdy,
I tested the solution (workaround?) proposed by @jdhildeb, and it worked, as in, the "Rename" button was displayed.
This was on a Drupal 10 installation using the Bootstrap 3 theme.
FWYW
- 🇯🇵Japan ilfelice
Howdy,
Quick follow up on this issue.
After updating my Drupal installation to 10.1.5, the rename link disappeared from the form widget.
Since I am using a Bootstrap 3 subtheme, I resorted to modifying the Boostrap 3 image-widget.html.twig template in the subtheme.
Specifically, I changed the line
{{ data|without('preview') }}
to
{{ element|without('preview') }}
Now the rename link is back, not in the ideal position (above the file link), but otherwise working fine, as in, serving its purpose.
Thought I would share in case it helps anyone else.
- Status changed to Fixed
10 months ago 2:12pm 4 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.