refactor(attachment): remove replace feature

This commit is contained in:
Colin Darie 2022-10-29 13:35:22 +02:00
parent b8296c6d4d
commit 7ae6efe776
5 changed files with 3 additions and 23 deletions

View file

@ -6,8 +6,6 @@
- if user_can_destroy?
.attachment-action{ "data-turbo": "true" }
= link_to('Supprimer', attachment_path, **remove_button_options)
.attachment-action
= button_tag('Remplacer', **replace_button_options)
.attachment-error.hidden
.attachment-error-message