Sha256: c02fc782d5e5c1100365a577bb09a1f7921143d8f168f3fc0664cc515e0a8577

Contents?: true

Size: 677 Bytes

Versions: 7

Compression:

Stored size: 677 Bytes

Contents

- if Cms::Fortress.configuration.enable_page_workflow
  = form.fields_for :page_workflow do |wf|
    = wf.select :status_id, Cms::PageWorkflow.statuses_for_select(can?(:manage, 'contents.page.publish'), can?(:manage, 'contents.page.review')), {}, {class: "status-control"}
    = wf.text_field :published_date, label: 'Published', class: "status-control", :data => {:utc_date => (@page.page_workflow.published_date.nil? ? Time.now : @page.page_workflow.published_date).strftime("%d %B, %Y") }

- if Cms::Fortress.configuration.enable_page_caching
  = form.select :cached_timeout, Cms::PageWorkflow.cached_timeout_for_select, {label: 'Cached Timeout'}, {class: 'status-control'}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cms-fortress-1.1.8 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.7 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.6 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.5 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.4 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.3 app/views/cms/fortress/shared/_page_extend.html.haml
cms-fortress-1.1.2 app/views/cms/fortress/shared/_page_extend.html.haml