<%= render "shared/errors" %>
<%= f.label :action_type %> <% ::Dashboard::Action.action_types.keys.each do |action_type_value| %> <%= f.radio_button :action_type, action_type_value, data: { toggle: "request_to_administrators short_description" } %> <% end %>
<%= f.check_box :active %>
<%= f.check_box :request_to_administrators %>
<%= f.text_field :title %>
<%= f.text_field :short_description %>
<%= f.text_area :description, class: "html-area" %>
<%= f.check_box :published_proposal %>

<%= t("admin.dashboard.actions.form.published_proposal_help_text") %>

<%= f.number_field :day_offset, step: 1, min: 0, hint: t("admin.dashboard.actions.form.help_text") %>
<%= f.number_field :required_supports, step: 1, min: 0, hint: t("admin.dashboard.actions.form.help_text") %>
<%= f.number_field :order, step: 1, min: 0, hint: t("admin.dashboard.actions.form.help_text") %>
<% if feature?(:allow_attached_documents) %>

<%= render "documents/nested_documents", documentable: dashboard_action, f: f %>
<% end %>
<%= f.submit(class: "button expanded", value: t("admin.dashboard.actions.form.submit_button")) %>