<%= t ".title" %>

<%= form.translated :text_field, :title, autofocus: true %>
<%= form.translated :editor, :description %>
<%= form.upload :banner_image, optional: false %>

<%= t ".options" %>

<%= form.select :signature_type, form.object.signature_type_options %>
<%= form.check_box :attachments_enabled %>
<%= form.check_box :undo_online_signatures_enabled %>
<%= form.check_box :custom_signature_end_date_enabled %>
<%= form.check_box :area_enabled %>
<%= form.check_box :child_scope_threshold_enabled %>

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

<%= form.check_box :only_global_scope_enabled %>

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

<%= form.check_box :promoting_committee_enabled %>
<%= form.number_field :minimum_committee_members, min: 0, step: 1 %>
<%= form.check_box :collect_user_extra_fields %>
<%= form.translated :editor, :extra_fields_legal_information %>

<%= t ".authorizations" %>

<%= form.select( :document_number_authorization_handler, current_organization.available_authorizations.map { |name| [t("#{name}.name", scope: "decidim.authorization_handlers"), name] }, include_blank: true ) %>
<% if current_organization.available_authorizations.include? "sms" %>
<%= form.check_box :validate_sms_code_on_votes %>
<% end %>
<%= javascript_pack_tag "decidim_initiatives_admin" %>