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