Sha256: 05d67bb4358e9db3b6c0804da89c4cf8134170987f17d6063b165fed8eb822fc

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 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
      %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

4 entries across 4 versions & 1 rubygems

Version Path
pages_cms-0.2.3 app/views/pages_cms/pages/show.html.haml
pages_cms-0.2.2 app/views/pages_cms/pages/show.html.haml
pages_cms-0.2.1 app/views/pages_cms/pages/show.html.haml
pages_cms-0.2.0 app/views/pages_cms/pages/show.html.haml