Remove redundant placeholders in attachment fields
Saying that we're supposed to introduce a descriptive title in a field labelled as "Title" is redundant. Besides, the text of the placeholder was barely distinguishable, making it harder to fill in the form.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<%= f.hidden_field :cached_attachment %>
|
<%= f.hidden_field :cached_attachment %>
|
||||||
|
|
||||||
<div class="small-12 column title">
|
<div class="small-12 column title">
|
||||||
<%= f.text_field :title, placeholder: t("#{plural_name}.form.title_placeholder") %>
|
<%= f.text_field :title %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if attachable.attachment.attached? && attachable.attachment.image? %>
|
<% if attachable.attachment.attached? && attachable.attachment.image? %>
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ en:
|
|||||||
additional: Additional documentation
|
additional: Additional documentation
|
||||||
form:
|
form:
|
||||||
title: Documents
|
title: Documents
|
||||||
title_placeholder: Add a descriptive title for the document
|
|
||||||
delete_button: Remove document
|
delete_button: Remove document
|
||||||
cancel_button: Cancel
|
cancel_button: Cancel
|
||||||
note: "You can upload up to a maximum of %{max_documents_allowed} documents of following content types: %{accepted_content_types}, up to %{max_file_size} MB per file."
|
note: "You can upload up to a maximum of %{max_documents_allowed} documents of following content types: %{accepted_content_types}, up to %{max_file_size} MB per file."
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ en:
|
|||||||
remove_image: Remove image
|
remove_image: Remove image
|
||||||
form:
|
form:
|
||||||
title: Descriptive image
|
title: Descriptive image
|
||||||
title_placeholder: Add a descriptive title for the image
|
|
||||||
delete_button: Remove image
|
delete_button: Remove image
|
||||||
note: "You can upload one image of following content types: %{accepted_content_types}, up to %{max_file_size} MB."
|
note: "You can upload one image of following content types: %{accepted_content_types}, up to %{max_file_size} MB."
|
||||||
add_new_image: Add image
|
add_new_image: Add image
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ es:
|
|||||||
additional: Documentación adicional
|
additional: Documentación adicional
|
||||||
form:
|
form:
|
||||||
title: Documentos
|
title: Documentos
|
||||||
title_placeholder: Añade un título descriptivo para el documento
|
|
||||||
delete_button: Eliminar documento
|
delete_button: Eliminar documento
|
||||||
cancel_button: Cancelar
|
cancel_button: Cancelar
|
||||||
note: "Puedes subir hasta un máximo de %{max_documents_allowed} documentos en los formatos: %{accepted_content_types}, y de hasta %{max_file_size} MB por archivo."
|
note: "Puedes subir hasta un máximo de %{max_documents_allowed} documentos en los formatos: %{accepted_content_types}, y de hasta %{max_file_size} MB por archivo."
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ es:
|
|||||||
remove_image: Eliminar imagen
|
remove_image: Eliminar imagen
|
||||||
form:
|
form:
|
||||||
title: Imagen descriptiva
|
title: Imagen descriptiva
|
||||||
title_placeholder: Añade un título descriptivo para la imagen
|
|
||||||
delete_button: Eliminar imagen
|
delete_button: Eliminar imagen
|
||||||
note: "Puedes subir una imagen en los formatos: %{accepted_content_types}, y de hasta %{max_file_size} MB por archivo."
|
note: "Puedes subir una imagen en los formatos: %{accepted_content_types}, y de hasta %{max_file_size} MB por archivo."
|
||||||
add_new_image: Añadir imagen
|
add_new_image: Añadir imagen
|
||||||
|
|||||||
Reference in New Issue
Block a user