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.16.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.15.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.14.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.13.1 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.13.0 app/components/coco/layout/page/page.html.erb
coveragebook_components-0.12.2 app/components/coco/app/layouts/page/page.html.erb
coveragebook_components-0.12.1 app/components/coco/app/layouts/page/page.html.erb
coveragebook_components-0.12.0 app/components/coco/app/layouts/page/page.html.erb
coveragebook_components-0.11.0 app/components/coco/app/layouts/page/page.html.erb