We had two different keys with the same text and were passing it as a parameter. Since the text is the same in any case, we don't need a parameter for it. Note we are using the `proposals` i18n key instead of creating a new one in a `shared` namespace one because creating a new key would mean that we'd lose the already existing translations in Crowdin.
11 lines
357 B
Plaintext
11 lines
357 B
Plaintext
<%= form.label :map_location, label %>
|
|
<p class="help-text" id="tag-list-help-text"><%= help %></p>
|
|
|
|
<%= form.fields_for :map_location, map_location do |m_l_fields| %>
|
|
<%= render_map(map_location, form: m_l_fields) %>
|
|
|
|
<%= m_l_fields.hidden_field :latitude %>
|
|
<%= m_l_fields.hidden_field :longitude %>
|
|
<%= m_l_fields.hidden_field :zoom %>
|
|
<% end %>
|