Fix UI string for confirm_delete in documents plugin
This commit is contained in:
parent
2072fbb4d5
commit
a7f86dd0cd
1 changed files with 1 additions and 1 deletions
|
@ -16,5 +16,5 @@
|
||||||
%td= h show_user(document.created_by)
|
%td= h show_user(document.created_by)
|
||||||
%td
|
%td
|
||||||
- if document.created_by == current_user or current_user.role_admin?
|
- 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'
|
class: 'btn btn-mini btn-danger'
|
||||||
|
|
Loading…
Reference in a new issue