<%= title %>

<%= form.text_field :title %>
<%= form.text_area :body, rows: 10 %>
<% if feature_settings.geocoding_enabled? %>
<%= form.text_field :address %>
<% end %> <% if @form.categories&.any? %>
<%= form.categories_select :category_id, @form.categories, prompt: t(".select_a_category") %>
<% end %> <% if current_participatory_process.has_subscopes? %>
<%= form.scopes_select :scope_id, prompt: I18n.t("decidim.scopes.global"), remote_path: decidim.scopes_search_path(root: current_participatory_process.scope) %>
<% end %> <% if feature_settings.attachments_allowed? %>
<%= t('.attachment_legend') %> <%= form.fields_for :attachment, @form.attachment do |form| %>
<%= form.text_field :title %>
<%= form.upload :file, optional: false %>
<% end %>
<% end %>