<%= form.text_field :title, autofocus: true, class: "js-hashtags", hashtaggable: true %>
<%= text_editor_for(form, :description, hashtaggable: true) %>
<%= form.select :type_of_meeting, @form.type_of_meeting_select, { include_blank: t(".select_a_meeting_type") }, { multiple: false } %>
<%= form.geocoding_field :address, input_html: { required: false }, help_text: t(".address_help") %>
<%= form.text_area :location, help_text: t(".location_help") %>
<%= form.text_area :location_hints, help_text: t(".location_hints_help") %>
<%= form.text_field :online_meeting_url, help_text: t(".online_meeting_url_help") %>
<%= form.select :iframe_embed_type, @form.iframe_embed_type_select, { multiple: false, help_text: t(".iframe_embed_type_html", domains: Decidim::Meetings.embeddable_services&.join(" ")) } %>
<%= form.select :iframe_access_level, @form.iframe_access_level_select, { include_blank: t(".select_an_iframe_access_level") }, { multiple: false } %>
<%= form.datetime_field :start_time %>
<%= form.datetime_field :end_time %>
<% if current_participatory_space.has_subscopes? %>
<%= scopes_select_field form, :decidim_scope_id %>
<% end %>
<%= form.categories_select :decidim_category_id, current_participatory_space.categories, prompt: t(".select_a_category"), disable_parents: false %>
<%= form.select :registration_type, @form.registration_type_select, { include_blank: t(".select_a_registration_type") }, { multiple: false } %>
<%= form.number_field :available_slots, help_text: t(".available_slots_help") %>
<%= text_editor_for(form, :registration_terms) %>
<%= form.text_field :registration_url, help_text: t(".registration_url_help") %>
<%= form.select( :user_group_id, Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.map { |g| [g.name, g.id] }, prompt: current_user.name, label: t(".create_as") ) %>
<%= append_javascript_pack_tag "decidim_meetings" %>