<% content_for :back_link do %> <%= link_to :back, class: "muted-link" do %> <%= icon "chevron-left", class: "icon--small" %> <%= t(".back") %> <% end %> <% end %>
<%== t ".fill_data_help" %> <%= link_to t(".more_information"), decidim.page_path("initiatives"), target: "_blank" %>.

<%= decidim_form_for(@form, url: next_wizard_path, method: :put, html: { class: "form new_initiative_form" }) do |f| %> <%= f.hidden_field :type_id %>
<%= f.text_field :title, autofocus: true, required: true %>
<%= f.editor :description, lines: 8, toolbar: :full, required: true %>
<%= f.select :signature_type, signature_type_options %>
<%= f.select :scope_id, scopes.map { |scoped_type| [translated_attribute(scoped_type.scope.name), scoped_type.scope.id]}, prompt: t(".select_scope") %>
<% if current_user.user_groups.verified.any? %>
<%= f.select :decidim_user_group_id, current_user.user_groups.verified.map{ |g| [g.name, g.id] }, prompt: current_user.name %>
<% end %>
<%= f.submit t(".continue"), class: "button expanded", data: { disable_with: true } %>
<% end %>