<%= javascript_include_tag "decidim/slug_form" %>

<%= t "questions.form.title", scope: "decidim.admin" %>

<%= form.translated :editor, :title, toolbar: :full, lines: 5, autofocus: true %>
<%= form.translated :text_field, :subtitle %>
<%= form.translated :text_field, :promoter_group %>
<%= form.translated :text_field, :participatory_scope %>
<%= form.translated :editor, :question_context, toolbar: :full, lines: 25 %>
<%= form.translated :editor, :what_is_decided, toolbar: :full, lines: 25 %>
<%= scopes_picker_field form, :decidim_scope_id, root: nil %>
<%= form.translated :text_field, :origin_scope %>
<%= form.translated :text_field, :origin_title %>
<%= form.url_field :origin_url %>
<%= form.number_field :order, step: 1, min: 0 %>
<%= form.text_field :slug %>

<%== t "consultations.form.slug_help", scope: "decidim.admin", url: decidim_form_slug_url(:questions, form.object.slug || question_example_slug) %>

<%= form.check_box :external_voting %>
<%= form.url_field :i_frame_url %>
<%= form.text_field :hashtag %>
<%= form.upload :hero_image %>
<%= form.upload :banner_image %>