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

@ -42,7 +42,7 @@
- if @current_user.role_suppliers?
.form-actions
= link_to t('ui.edit'), edit_supplier_path(@supplier), class: 'btn'
= link_to t('ui.delete'), @supplier, :data => {:confirm => t('.confirm_delete')}, :method => :delete, class: 'btn btn-danger'
= link_to t('ui.delete'), @supplier, :data => {:confirm => t('ui.confirm_delete', name: @supplier.name)}, :method => :delete, class: 'btn btn-danger'
- if @deliveries.any?
.span6