Sha256: 0f3d71f3e2029471013a7e2bcb11df5cb7ab5719f38e7d59f76365a1e255938f
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
= render :partial => "show" = render :partial => "child_pages_links" - if @sitemap && (@sitemap.parent != Sitemap.main_menu) = nav_content do %ul.parent_page %li= link_to @sitemap.parent.menu_text, @sitemap - if @sitemap && !@sitemap.children.empty? = nav_content do %ul.child_pages - @sitemap.children.each do |child| %li= link_to child.menu_text, child - unless @page.attachments.empty? = sidebar_content do %ul#attachments_list %li.sidebar_title Files - @page.attachments.each do |attachment| = render :partial => "attachments/show", :locals=>{:a=>(@attachment=attachment)}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.1.10 | app/views/pages/show.html.haml |