diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/decorators/referential_decorator.rb | 2 | ||||
| -rw-r--r-- | app/helpers/links_helper.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb index 8b3b54f2a..b514a38df 100644 --- a/app/decorators/referential_decorator.rb +++ b/app/decorators/referential_decorator.rb @@ -40,7 +40,7 @@ class ReferentialDecorator < Draper::Decorator href: h.referential_path(object), method: :delete, data: { confirm: h.t('referentials.actions.destroy_confirm') }, - content: h.destroy_link + content: h.destroy_link_content ) end diff --git a/app/helpers/links_helper.rb b/app/helpers/links_helper.rb index 48cfe9ca4..b9923db2f 100644 --- a/app/helpers/links_helper.rb +++ b/app/helpers/links_helper.rb @@ -1,5 +1,5 @@ module LinksHelper - def destroy_link + def destroy_link_content content_tag(:span, nil, class: 'fa fa-trash') + t('actions.destroy') end end |
