Get rid of duplicated confirm_delete translations

This commit is contained in:
Patrick Gansterer 2016-03-04 23:13:28 +01:00
parent f5b6fbcf18
commit c62104a388
10 changed files with 6 additions and 38 deletions

View file

@ -15,5 +15,5 @@
%td= truncate article_category.description, length: 50
%td
= link_to t('ui.edit'), edit_article_category_path(article_category), class: 'btn btn-mini'
= link_to t('ui.delete'), article_category, :method => :delete, :data => {:confirm => t('.confirm_delete')},
= link_to t('ui.delete'), article_category, :method => :delete, :data => {:confirm => t('ui.confirm_delete', name: article_category.name)},
class: 'btn btn-mini btn-danger'