<%= javascript_include_tag "decidim/slug_form" %>

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

<%= form.translated :text_field, :title, autofocus: true %>
<%= form.translated :text_field, :subtitle %>
<%= form.text_field :slug %>

<%== t(".slug_help", url: decidim_form_slug_url(:processes, form.object.slug)) %>

<%= form.text_field :hashtag %>
<%= form.translated :editor, :short_description %>
<%= form.translated :editor, :description, toolbar: :full, lines: 25 %>
<%= form.translated :editor, :announcement %>

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

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

<%= form.date_field :start_date %>
<%= form.date_field :end_date %>

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

<%= form.upload :hero_image %>
<%= form.upload :banner_image %>

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

<%= form.translated :text_field, :developer_group %>
<%= form.translated :text_field, :local_area %>
<%= form.translated :text_field, :meta_scope %>
<%= form.translated :text_field, :target %>
<%= form.translated :text_field, :participatory_scope %>
<%= form.translated :text_field, :participatory_structure %>

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

<%= form.check_box :scopes_enabled %>
<%= scopes_picker_field form, :scope_id, root: nil %>
<%= form.areas_select :area_id, areas_for_select(current_organization), selected: current_participatory_process.try(:decidim_area_id), include_blank: t(".select_an_area") %>

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

<% if process_groups_for_select %> <%= form.select :participatory_process_group_id, process_groups_for_select, include_blank: t(".select_process_group") %> <% end %>
<%= form.check_box :private_space %>
<%= form.check_box :promoted %>

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

<%= form.check_box :show_statistics %>
<%= javascript_include_tag "decidim/participatory_processes/admin/participatory_processes" %>