Sha256: 9cfb1bce4229fa96a066568fe004e3cead41197668c8f922a7f8b385aa651ecb

Contents?: true

Size: 982 Bytes

Versions: 5

Compression:

Stored size: 982 Bytes

Contents

= f.inputs :information do

  = f.input :title, input_html: { class: 'input-lg' }

  - if display_page_layouts?
    = f.input :layout_id, as: :select, collection: options_for_page_layouts, include_blank: false

  - if !@page.index? && !@page.not_found? && !@page.templatized?

    = f.input :slug

    = f.input :parent_id, as: :select, collection: parent_pages_options, include_blank: false

    = f.input :redirect, as: :toggle

    = f.input :redirect_url, as: :string, wrapper_html: { class: "#{'hide' unless @page.redirect?}" }

    = f.input :redirect_type, as: :select, collection: options_for_page_redirect_type, include_blank: false, wrapper_html: {class: "#{'hide' unless @page.redirect?}" }

  = f.input :published, as: :toggle

  - if !@page.not_found? && !@page.templatized? && @page.default_response_type?

    = f.input :listed, as: :toggle

  - if current_site.cache_enabled?
    = f.input :cache_enabled, as: :toggle

= render 'locomotive/pages/form/actions', f: f

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc5 app/views/locomotive/pages/form/_main.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/pages/form/_main.html.slim
locomotivecms-3.0.0.rc3 app/views/locomotive/pages/form/_main.html.slim
locomotivecms-3.0.0.rc2 app/views/locomotive/pages/form/_main.html.slim
locomotivecms-3.0.0.rc1 app/views/locomotive/pages/form/_main.html.slim