Merge pull request #412 from foodcoop1040/confirm
Get rid of duplicated confirm_delete translations
This commit is contained in:
commit
b4e2ddf66d
10 changed files with 6 additions and 38 deletions
|
|
@ -37,5 +37,5 @@
|
|||
= link_to t('ui.edit'), edit_finance_invoice_path(invoice), class: 'btn btn-mini'
|
||||
%td
|
||||
- if invoice.user_can_edit?(current_user)
|
||||
= link_to t('ui.delete'), finance_invoice_path(invoice), :data => {:confirm => t('.confirm_delete')}, :method => :delete,
|
||||
= link_to t('ui.delete'), finance_invoice_path(invoice), :data => {:confirm => t('ui.confirm_delete', name: invoice.number)}, :method => :delete,
|
||||
class: 'btn btn-danger btn-mini'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue