Sha256: 7a61b551902635717fcbc8c21ed578e29d2401213ae43b517514e9ef90965b71

Contents?: true

Size: 707 Bytes

Versions: 2

Compression:

Stored size: 707 Bytes

Contents

= comfy_admin_partial "comfy/admin/archive/partials/index_form_before", form: form

= form.text_field :label

- if (options = ::Comfy::Cms::Page.options_for_select(site: @site, current_page: @index.page, exclude_self: false)).present?
  = form.select :page_id, options, bootstrap: {custom_control: true}

= form.text_field :datetime_fragment

= form.check_box :force_render_page

= comfy_admin_partial "comfy/admin/archive/partials/index_form_after", form: form

= form.form_actions do
  = submit_tag t(@index.new_record? ? ".create" : ".update"), class: "btn btn-primary ml-sm-1", data: {disable_with: false}
  = link_to t(".cancel"), comfy_admin_archive_indices_path(@site, @index), class: "btn btn-link"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comfy_archive-0.3.0 app/views/comfy/admin/archive/indices/_form.html.haml
comfy_archive-0.2.0 app/views/comfy/admin/archive/indices/_form.html.haml