Sha256: 30ff33040e702cd29d01838d3c3ec1d8e1bbbad8217c974e4ae28a5b171d41d9

Contents?: true

Size: 1.71 KB

Versions: 62

Compression:

Stored size: 1.71 KB

Contents

- @page_title = "#{t('workarea.admin.create_content_pages.content.content_for', title: @page.name)}"

.view
  .view__header
    .grid.grid--right
      .grid__cell.grid__cell--50
        .view__heading
          %h1.heading.heading--no-margin= t('workarea.admin.create_content_pages.content.add_content', page_name: @page.name)
          %p= link_to t('workarea.admin.create_content_pages.workflow.or_skip_this'), taxonomy_create_content_page_path(@page)
      .grid__cell.grid__cell--25
        = render_aux_navigation_for(@page, html_options: { target: @page.id })

  = render 'workarea/admin/content/edit', content: @content, workflow: true

  .workflow-bar
    .grid.grid--middle
      .grid__cell.grid__cell--20
        = link_to t('workarea.admin.form.cancel'), content_page_path(@page), class: 'workflow-bar__button workflow-bar__button--delete', data: { method: 'delete', confirm: t('workarea.admin.create_content_pages.workflow.delete_confirmation') }

      .grid__cell.grid__cell--60
        %ol.workflow-bar__steps
          %li.workflow-bar__step 1) #{link_to t('workarea.admin.create_content_pages.workflow.setup'), edit_create_content_page_path(@page)}
          %li.workflow-bar__step
            %strong 2) #{t('workarea.admin.create_content_pages.workflow.content')}
          %li.workflow-bar__step 3) #{t('workarea.admin.create_content_pages.workflow.taxonomy')}
          %li.workflow-bar__step 4) #{t('workarea.admin.create_content_pages.workflow.publishing')}

      .grid__cell.grid__cell--20
        .grid.grid--auto.grid--right.grid--middle
          .grid__cell= link_to "#{t('workarea.admin.create_content_pages.content.continue_to_taxonomy')} →", taxonomy_create_content_page_path(@page), class: 'workflow-bar__button'

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.6 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/create_content_pages/content.html.haml
workarea-admin-3.5.5 app/views/workarea/admin/create_content_pages/content.html.haml