Sha256: bf31590cf183f6f40d9e917bf87e60dae1461b0face56b174fc025ef8f7cfd3c
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 Bytes
Contents
= content_for :head do %title= @page.page_title.present? ? @page.page_title : @page.title - if @page.bricks.map(&:type).include? "Kuhsaft::PlaceholderBrick" - unless @page.blank? .page-content -# TODO: refactor into scopes or simplify otherwise: - @page.bricks.localized.select(&:valid?).each do |brick| = render brick - else - cache [@page, I18n.locale, @page.children] do - unless @page.blank? .page-content -# TODO: refactor into scopes or simplify otherwise: - @page.bricks.localized.select(&:valid?).each do |brick| = render brick
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kuhsaft-2.1.2 | app/views/kuhsaft/pages/show.html.haml |
kuhsaft-2.1.1 | app/views/kuhsaft/pages/show.html.haml |