Fix i18n translations warnings.

This commit is contained in:
Senén Rodero Rodríguez
2017-07-24 11:36:45 +02:00
parent 63621aa526
commit 17ad148cd7
4 changed files with 8 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
<% if can? :destroy, Document %>
<%= link_to t('documents.buttons.destroy_document'),
document_path(document, from: request.url), method: :delete,
data: { confirm: "¿Está segurto de que desea eliminar el documento?. Esta acción no se puede deshacer." },
data: { confirm: t('documents.actions.destroy.alert') },
class: 'button hollow alert' %>
<% end %>
</td>