Sha256: fdf73c8ed82150b94388fb1709e26d3861612ad3ab2f419c47d8c8cf818fda18

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

<h1><%= current_page.name %></h1>
<% current_page.page_sections.group_by(&:section).each do |section_name, page_sections| %>
<% content_for(section_name.to_sym) do -%>
<% page_sections.sort_by(&:position).each do |page_section| -%>
  <%= page_content(page_section) %>
<% end -%>
<% end -%>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grandstand-0.2.7 app/views/pages/show.html.erb
grandstand-0.2.6 app/views/pages/show.html.erb
grandstand-0.2.4 app/views/pages/show.html.erb
grandstand-0.2.3 app/views/pages/show.html.erb
grandstand-0.2.2 app/views/pages/show.html.erb
grandstand-0.2.1 app/views/pages/show.html.erb