<%= title %>

<%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true %>
<%= form.geocoding_field :address %>

<%= t(".address_help") %>

<%= form.translated :text_area, :location %>

<%= t(".location_help") %>

<%= form.translated :text_area, :location_hints %>

<%= t(".location_hints_help") %>

<% prompt_options = { url: available_polling_officers_voting_url(current_voting), placeholder: t(".select_president") } %> <%= form.autocomplete_select(:polling_station_president_id, form.object.polling_station_president.presence, { multiple: false }, prompt_options) do |polling_officer| { value: polling_officer.id, label: "#{polling_officer.name} (@#{polling_officer.nickname})" } end %>

<%= t(".polling_station_president_help") %>

<%= polling_officers_picker(form, :polling_station_managers, polling_officers_picker_voting_path(current_voting)) %>

<%= t(".polling_station_managers_help") %>

<%= javascript_pack_tag "decidim_votings_admin_polling_stations_form" %>