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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue