Simplify variable name in map location fields

The `m_l` prefix isn't really necessary when we're talking about map
locations, and sometimes when searching the project I think `m_l_`
stands for "machine learning" and get confused.
This commit is contained in:
Javi Martín
2025-11-17 00:43:09 +01:00
parent 29e5adc233
commit b9adef481a

View File

@@ -2,11 +2,11 @@
<legend><%= label %></legend>
<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) %>
<%= form.fields_for :map_location, map_location do |fields| %>
<%= render_map(map_location, form: fields) %>
<%= m_l_fields.hidden_field :latitude %>
<%= m_l_fields.hidden_field :longitude %>
<%= m_l_fields.hidden_field :zoom %>
<%= fields.hidden_field :latitude %>
<%= fields.hidden_field :longitude %>
<%= fields.hidden_field :zoom %>
<% end %>
</fieldset>