Skip to content

Commit

Permalink
Remove external_url input when creating an investment
Browse files Browse the repository at this point in the history
The input was removed via consuldemocracy#2280 but due to conflict resolution, it was
accidentally re-introduced. This commit removes it altogether as well
as its associated I18n keys
  • Loading branch information
aitbw committed Aug 31, 2018
1 parent 54f594f commit ebc0765
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
12 changes: 2 additions & 10 deletions app/views/budgets/investments/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div class="row">
<div class="small-12 medium-9 column">
<%= f.select :heading_id, budget_heading_select_options(@budget), { include_blank: true, } %>
<%= f.select :heading_id, budget_heading_select_options(@budget), { include_blank: true } %>
</div>
</div>

Expand Down Expand Up @@ -31,14 +31,6 @@
</div>
</div>

<div class="row">
<div class="small-12 medium-9 column">
<%= f.text_field :external_url, data: { toggle_focus: "external-url-suggestions" } %>
</div>
<%= render "shared/suggest_message", id: "external-url-suggestions",
message: t("spending_proposals.suggestions.external_url") %>
</div>

<% if feature?(:allow_images) %>
<div class="row">
<div class="images small-12 column">
Expand Down Expand Up @@ -82,7 +74,7 @@

<div class="row">
<div class="small-12 medium-9 column">
<%= f.text_field :organization_name, data: {toggle_focus: "organization-name-suggestions"} %>
<%= f.text_field :organization_name, data: { toggle_focus: "organization-name-suggestions" } %>
</div>
<%= render "shared/suggest_message", id: "organization-name-suggestions",
message: t("spending_proposals.suggestions.organization_name") %>
Expand Down
1 change: 0 additions & 1 deletion config/locales/en/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,6 @@ en:
zero: No supports
suggestions:
title: "Do not use capital letters for the project title or for whole sentences. On the internet, this is considered shouting. And nobody likes being shouted at."
external_url: "There is not enough space for the project development? Include an URL to let people access more information about it."
location: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
organization_name: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
tag_list: "Tagging your project correctly makes its search easier and may be voted more."
Expand Down
1 change: 0 additions & 1 deletion config/locales/es/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,6 @@ es:
other: "%{count} apoyos"
suggestions:
title: "No escribas el título del pryecto o frases enteras en mayúsculas. En internet eso se considera gritar, y a nadie le gusta que le griten."
external_url: "¿Se te ha quedado pequeño el espacio para la propuesta? Incluye un enlace para poder tener acceso a más información."
location: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
organization_name: "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
tag_list: "Etiquetar correctamente un proyecto hace que su búsqueda sea más sencilla y tiene más posibilidades de conseguir apoyos."
Expand Down

0 comments on commit ebc0765

Please sign in to comment.