Merge pull request #455 from foodcoop1040/confirm_delete
Fix UI string for confirm_delete in documents plugin
This commit is contained in:
commit
1410e242a4
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@
|
|||
%td= h show_user(document.created_by)
|
||||
%td
|
||||
- if document.created_by == current_user or current_user.role_admin?
|
||||
= link_to t('ui.delete'), document, :method => :delete, :data => {:confirm => t('admin.confirm', name: document.name)},
|
||||
= link_to t('ui.delete'), document, :method => :delete, :data => {:confirm => t('ui.confirm_delete', name: document.name)},
|
||||
class: 'btn btn-mini btn-danger'
|
||||
|
|
Loading…
Reference in a new issue