Sha256: 9e0809b60654624e27f6ed7dd7524f381ce29ae2d8f72f68c2e4d012f097ab77

Contents?: true

Size: 670 Bytes

Versions: 1

Compression:

Stored size: 670 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

= 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

1 entries across 1 versions & 1 rubygems

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