From 385db76a24aef71c4f3a2dd0cd5d4242d3da3a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Mon, 8 Jan 2018 17:10:04 +0100 Subject: [PATCH] Changed location attribute label text --- app/views/budgets/investments/_form.html.erb | 3 ++- config/locales/en/budgets.yml | 1 + config/locales/es/budgets.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/budgets/investments/_form.html.erb b/app/views/budgets/investments/_form.html.erb index 9c419dc0f..cc24ad651 100644 --- a/app/views/budgets/investments/_form.html.erb +++ b/app/views/budgets/investments/_form.html.erb @@ -42,7 +42,8 @@ <% end %>
- <%= f.text_field :location %> + <%= f.label :location, t("budgets.investments.form.location") %> + <%= f.text_field :location, label: false %>
diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml index 3710daf8a..69056b218 100644 --- a/config/locales/en/budgets.yml +++ b/config/locales/en/budgets.yml @@ -58,6 +58,7 @@ en: map_location: "Map location" map_location_instructions: "Navigate the map to the location and place the marker." map_remove_marker: "Remove map marker" + location: "Location additional info" index: title: Participatory budgeting unfeasible: Unfeasible investment projects diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index 367bcecdc..fc5940217 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -58,6 +58,7 @@ es: map_location: "Ubicación en el mapa" map_location_instructions: "Navega por el mapa hasta la ubicación y coloca el marcador." map_remove_marker: "Eliminar el marcador" + location: "Información adicional de la ubicación" index: title: Presupuestos participativos unfeasible: Propuestas de inversión no viables