Sha256: fceb4aac2de612a4e9ccd067087288b9c4348fc2c7ff8ab5b586f0d7727ededd

Contents?: true

Size: 679 Bytes

Versions: 29

Compression:

Stored size: 679 Bytes

Contents

<%= render component_tag(x: {data: x_data("pageLayout")}, class: ({"with-header": header?} if header?)) do %>
  <% if header? %>
    <header class="page-header" data-role="page-header">
      <%= header %>
    </header>
  <% end %>

  <div class="page-body" data-role="page-body">
    <%= render stack %>
  </div>
 
  <% if previous_link? || next_link? %>
    <div class="page-controls">
      <%= previous_link %>
      <%= next_link %>
    </div>
  <% end %>

  <% if hidden_sections? %>
    <div class="hidden">
      <% hidden_sections.each do |hidden| %>
        <%= hidden %>
      <% end %>
    </div>
  <% end %>
  
  <%= poll_controller if poll_controller? %>
<% end %>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.7 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.6 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.5 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.4 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.3 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.2 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.1 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.19.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.18.8 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.18.7 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.18.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.7 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.6 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.5 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.4 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.3 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.2 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.1 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.17.0 app/components/coco/layout/page/page.html.erb