<%= form.translated :text_field, :title, autofocus: true, class: "js-hashtags", hashtaggable: true, aria: { label: :title } %>
<%= form.translated :editor, :description, hashtaggable: true, aria: { label: :description } %>
<%= form.translated :editor, :instructions, aria: { label: :instructions } %>
<%= form.translated :editor, :information_updates, aria: { label: :information_updates } %>
<%= label_tag :debate_type, t(".debate_type") %>
<%= form.collection_radio_buttons(:finite, [[t(".finite"), true], [t(".open"), false]], :last, :first) do |builder| builder.label(class: "form__wrapper-checkbox-label") { builder.radio_button + builder.text } end %>
<%= form.datetime_field :start_time %>
<%= form.datetime_field :end_time %>
<% if current_component.has_subscopes? %>
<%= scopes_select_field form, :scope_id, root: current_component.scope %>
<% end %>
<%= form.categories_select :decidim_category_id, current_participatory_space.categories, include_blank: "", disable_parents: false %>
<%= form.check_box :comments_enabled, label: t("enabled", scope: "decidim.comments.admin.shared.availability_fields") %>
<%= append_javascript_pack_tag "decidim_debates_admin" %>