Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve budget investment form #2280

Merged
merged 4 commits into from
Jan 9, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed location attribute label text
  • Loading branch information
MariaCheca committed Jan 8, 2018
commit 385db76a24aef71c4f3a2dd0cd5d4242d3da3a33
3 changes: 2 additions & 1 deletion app/views/budgets/investments/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<% end %>

<div class="small-12 column">
<%= f.text_field :location %>
<%= f.label :location, t("budgets.investments.form.location") %>
<%= f.text_field :location, label: false %>
</div>

<div class="small-12 column">
Expand Down
1 change: 1 addition & 0 deletions config/locales/en/budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions config/locales/es/budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down