<%= render "shared/globalize_locales", resource: @heading %> <%= translatable_form_for [:admin, @budget, @group, @heading], url: path do |f| %> <%= render "shared/errors", resource: @heading %>
<%= f.translatable_fields do |translations_form| %>
<%= translations_form.text_field :name, maxlength: 50 %>
<% end %>
<%= f.text_field :price, maxlength: 8 %> <% if @heading.budget.approval_voting? %> <%= f.number_field :max_ballot_lines, hint: t("admin.budget_headings.form.max_ballot_lines_info") %> <% end %> <%= f.text_field :population, maxlength: 8, data: { toggle_focus: "population-info" }, hint: t("admin.budget_headings.form.population_info") %> <%= f.text_field :latitude, maxlength: 22 %> <%= f.text_field :longitude, maxlength: 22 %>

<%= t("admin.budget_headings.form.coordinates_info") %>

<%= f.check_box :allow_custom_content %>

<%= t("admin.budget_headings.form.content_blocks_info") %>

<%= f.submit t("admin.budget_headings.form.#{action}"), class: "button success" %>
<% end %>