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

@ -14,4 +14,4 @@
%td= link_to t('ui.edit'), edit_supplier_article_path(@supplier, article),
:remote => true, class: 'btn btn-mini'
%td= link_to t('ui.delete'), [@supplier, article],
:method => :delete, :data => {:confirm => t('.confirm_delete')}, :remote => true, class: 'btn btn-mini btn-danger'
:method => :delete, :data => {:confirm => t('ui.confirm_delete', name: article.name)}, :remote => true, class: 'btn btn-mini btn-danger'