Sha256: b74747c7a35626523ad67044c6e5ff6e1f2f0f47c5e0a7b212f14924afac040c

Contents?: true

Size: 601 Bytes

Versions: 25

Compression:

Stored size: 601 Bytes

Contents

%h1= resource.title
.page_content!= resource.body

= render :partial => "child_pages_links"

- if can? :manage, @page
  = content_for :sidebar do
    %ul
      %li.sidebar_title Manage This Page
      %li= link_to 'Edit', edit_page_path(@page)

- if @parent_page
  = content_for :links do
    %li= link_to "< #{@parent_page.title}", @parent_page

- unless @page.attachments.empty?
  = content_for :sidebar do
    %ul#attachments_list
      %li.sidebar_title Files
      - @page.attachments.each do |attachment|
        = render :partial => "attachments/show", :locals=>{:a=>(@attachment=attachment)}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
wheels-0.0.48 app/views/pages/show.html.haml
wheels-0.0.47 app/views/pages/show.html.haml
wheels-0.0.46 app/views/pages/show.html.haml
wheels-0.0.45 app/views/pages/show.html.haml
wheels-0.0.44 app/views/pages/show.html.haml
wheels-0.0.43 app/views/pages/show.html.haml
wheels-0.0.42 app/views/pages/show.html.haml
wheels-0.0.41 app/views/pages/show.html.haml
wheels-0.0.40 app/views/pages/show.html.haml
wheels-0.0.39 app/views/pages/show.html.haml
wheels-0.0.38 app/views/pages/show.html.haml
wheels-0.0.37 app/views/pages/show.html.haml
wheels-0.0.36 app/views/pages/show.html.haml
wheels-0.0.35 app/views/pages/show.html.haml
wheels-0.0.34 app/views/pages/show.html.haml
wheels-0.0.33 app/views/pages/show.html.haml
wheels-0.0.32 app/views/pages/show.html.haml
wheels-0.0.31 app/views/pages/show.html.haml
wheels-0.0.30 app/views/pages/show.html.haml
wheels-0.0.29 app/views/pages/show.html.haml