Get rid of duplicated confirm_delete translations
This commit is contained in:
parent
f5b6fbcf18
commit
c62104a388
10 changed files with 6 additions and 38 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue