Sha256: 6a0d3d7d0d096acaa313c38c462f6a145a519114dbd52147c5881381f78016d0

Contents?: true

Size: 913 Bytes

Versions: 62

Compression:

Stored size: 913 Bytes

Contents

- @page_title = t('workarea.admin.content.edit.title', content: @content.name)

.view
  .view__header
    .grid
      .grid__cell.grid__cell--25
        = render 'workarea/admin/releases/select'
      .grid__cell.grid__cell--50
        .view__heading
          - if @content.system?
            = link_to "↑ #{t('workarea.admin.content.all_system_pages')}", content_index_path
            %h1= link_to @content.name, url_for(@content)
          - else
            = link_to_index_for(@content.contentable)
            %h1= link_to @content.name, url_for(@content.contentable)
      .grid__cell.grid__cell--25
        = render_aux_navigation_for(@content.contentable) unless @content.system?

  .view__container
    - if @content.system?
      = render_cards_for(@content, :content)
    - else
      = render_cards_for(@content.contentable, :content)

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

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/content/edit.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/content/edit.html.haml