refactor(attachment): remove replace feature
This commit is contained in:
parent
b8296c6d4d
commit
7ae6efe776
5 changed files with 3 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue