<%= f.input :start_date, as: :date %>
<%= f.input :end_date, as: :date%>
<%= f.input :description %>
<%= f.input :event_type, as: :select2, elements: EventTypes.to_select.to_json %>
<%= f.input :periods, as: :select2, multiple: true, elements: PeriodsDecorator.data_for_select2, required: true, input_html: { value: f.object.periods.join(','), data: { without_json_parser: true } } %>
<%= f.input :general_description, input_html: { maxlength: 500 } %>