diff --git a/app/views/documents/_documents.html.erb b/app/views/documents/_documents.html.erb index dbc0fb3af..e03c8c280 100644 --- a/app/views/documents/_documents.html.erb +++ b/app/views/documents/_documents.html.erb @@ -3,8 +3,8 @@ <% if documents.size == max_documents_allowed && can?(:create, Document) %>
-
- <%= t "documents.max_documents_allowed_reached" %> +
+ <%= t "documents.max_documents_allowed_reached_html" %>
diff --git a/config/locales/en/documents.yml b/config/locales/en/documents.yml index b4f822e14..e65e288e2 100644 --- a/config/locales/en/documents.yml +++ b/config/locales/en/documents.yml @@ -3,7 +3,7 @@ en: tab: Documents no_documents: Don't have uploaded documents upload_document: Upload document - max_documents_allowed_reached: You have reached the maximum number of documents allowed! You have to delete one before you can upload another. + max_documents_allowed_reached_html: You have reached the maximum number of documents allowed! You have to delete one before you can upload another. form: attachment_label: Choose attachment file submit_button: Upload document @@ -26,4 +26,4 @@ en: errors: messages: in_between: must be in between %{min} and %{max} - wrong_content_type: content type %{content_type} does not match any of accepted content types %{accepted_content_types} \ No newline at end of file + wrong_content_type: content type %{content_type} does not match any of accepted content types %{accepted_content_types} diff --git a/config/locales/es/documents.yml b/config/locales/es/documents.yml index a4b7daf89..9002613cb 100644 --- a/config/locales/es/documents.yml +++ b/config/locales/es/documents.yml @@ -3,7 +3,7 @@ es: tab: Documentos no_documents: No hay documentos subidos upload_document: Subir documento - max_documents_allowed_reached: ¡Has alcanzado el número máximo de documentos permitidos! Tienes que eliminar uno antes de poder subir otro. + max_documents_allowed_reached_html: ¡Has alcanzado el número máximo de documentos permitidos! Tienes que eliminar uno antes de poder subir otro. form: attachment_label: Selecciona un archivo submit_button: Subir documento @@ -26,4 +26,4 @@ es: errors: messages: in_between: debe estar entre %{min} y %{max} - wrong_content_type: El tipo de contenido %{content_type} del archivo no coincide con ninguno de los tipos de contenido aceptados %{accepted_content_types} \ No newline at end of file + wrong_content_type: El tipo de contenido %{content_type} del archivo no coincide con ninguno de los tipos de contenido aceptados %{accepted_content_types}