Remove redundant labels
We already had translations for these attributes.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
|
||||
<div class="small-12 column margin-top">
|
||||
<%= f.check_box :active, label: ::Dashboard::Action.human_attribute_name(:active) %>
|
||||
<%= f.check_box :active %>
|
||||
</div>
|
||||
|
||||
<div id="request_to_administrators"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<%= form_for @document,
|
||||
url: admin_site_customization_documents_path do |f| %>
|
||||
<%= f.file_field "attachment", label: t("admin.documents.new.label_attachment") %>
|
||||
<%= f.file_field :attachment %>
|
||||
|
||||
<div class="margin-top">
|
||||
<%= f.submit t("admin.documents.new.submit_button"), class: "button success" %>
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
<div class="column">
|
||||
<%= f.text_field :publication_date,
|
||||
value: @milestone.publication_date.present? ? l(@milestone.publication_date.to_date) : nil,
|
||||
label: t("tracking.milestones.new.date"),
|
||||
class: "js-calendar-full" %>
|
||||
|
||||
<%= render "images/admin_image", imageable: @milestone, f: f %>
|
||||
|
||||
@@ -168,7 +168,7 @@ en:
|
||||
status_id: "Current status (optional)"
|
||||
title: "Title"
|
||||
description: "Description (optional if there's an status assigned)"
|
||||
publication_date: "Publication date"
|
||||
publication_date: "Date"
|
||||
milestone/status:
|
||||
name: "Name"
|
||||
description: "Description (optional)"
|
||||
|
||||
@@ -450,7 +450,6 @@ en:
|
||||
documents:
|
||||
new:
|
||||
title: "Upload a document"
|
||||
label_attachment: "Choose document"
|
||||
submit_button: "Upload"
|
||||
index:
|
||||
new_link: "Add new document"
|
||||
|
||||
@@ -53,7 +53,6 @@ en:
|
||||
no_statuses_defined: There are no defined statuses yet
|
||||
new:
|
||||
creating: Create milestone
|
||||
date: Date
|
||||
description: Description
|
||||
edit:
|
||||
title: Edit milestone
|
||||
|
||||
@@ -170,7 +170,7 @@ es:
|
||||
status_id: "Estado actual (opcional)"
|
||||
title: "Título"
|
||||
description: "Descripción (opcional si hay un estado asignado)"
|
||||
publication_date: "Fecha de publicación"
|
||||
publication_date: "Fecha"
|
||||
milestone/status:
|
||||
name: "Nombre"
|
||||
description: "Descripción (opcional)"
|
||||
|
||||
@@ -452,7 +452,6 @@ es:
|
||||
documents:
|
||||
new:
|
||||
title: "Subir un documento"
|
||||
label_attachment: "Selecciona un documento"
|
||||
submit_button: "Subir documento"
|
||||
index:
|
||||
new_link: "Subir un documento"
|
||||
|
||||
@@ -53,7 +53,6 @@ es:
|
||||
no_statuses_defined: No hay estados definidos
|
||||
new:
|
||||
creating: Crear hito
|
||||
date: Fecha
|
||||
description: Descripción
|
||||
edit:
|
||||
title: Editar hito
|
||||
|
||||
Reference in New Issue
Block a user