style(attachment): delete button replaces bullet when user can download + destroy
This commit is contained in:
parent
5b20713893
commit
182bfcd3e3
3 changed files with 9 additions and 1 deletions
|
@ -10,6 +10,7 @@ class Attachment::MultipleComponent < ApplicationComponent
|
|||
attr_reader :form_object_name
|
||||
attr_reader :max
|
||||
attr_reader :user_can_destroy
|
||||
alias user_can_destroy? user_can_destroy
|
||||
attr_reader :user_can_download
|
||||
alias user_can_download? user_can_download
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue