Sha256: 2e967b2810726531926774b54ab3f0eb124ee6167473cc0aa2057498d93d29b8

Contents?: true

Size: 435 Bytes

Versions: 6

Compression:

Stored size: 435 Bytes

Contents

%h1
  = @page.title
- if @sidebar
  %div.row
    %div.col-md-8
      = render partial: 'pages_cms/pages/main', locals: { page: @page }
    %div.col-md-4
      = raw @sidebar.content_rendered
      %ul.nav.nav-pills.nav-stacked
        - PagesCms::Page.where(sidebar_show: true).each do |link|
          %li
            = link_to link.title, slugged_path(link)

- else
  = render partial: 'pages_cms/pages/main', locals: { page: @page }

Version data entries

6 entries across 5 versions & 1 rubygems

Version Path
pages_cms-0.1.1 app/views/pages_cms/pages/show.html.haml
pages_cms-0.1.1 test/dummy/app/views/pages_cms/pages/show.html.haml
pages_cms-0.1.0 app/views/pages_cms/pages/show.html.haml
pages_cms-0.0.3 app/views/pages_cms/pages/show.html.haml
pages_cms-0.0.2 app/views/pages_cms/pages/show.html.haml
pages_cms-0.0.1 app/views/pages_cms/pages/show.html.haml