<%= title %>

<%= form.translated :text_field, :title, autofocus: true %>
<%= form.translated :editor, :description %>
<% if @form.parent_id %>
<%= form.select :parent_id, parent_results.map{|result| [translated_attribute(result.title), result.id] }, include_blank: true %>
<% else %> <% if current_participatory_space.has_subscopes? %>
<%= form.scopes_select :decidim_scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_space.scope) %>
<% end %>
<%= form.categories_select :decidim_category_id, current_participatory_process.categories, include_blank: true, disable_parents: false %>
<% end %>
<%= form.date_field :start_date %>
<%= form.date_field :end_date %>
<%= form.select :decidim_accountability_status_id, statuses.map{|status| [translated_attribute(status.name), status.id, { 'data-progress' => status.progress }] }, include_blank: true %>
<%= form.number_field :progress %>
<% if @form.proposals %> <%= form.select :proposal_ids, @form.proposals, {}, { multiple: true, class: "chosen-select" } %> <% end %>