Sha256: edb56f891d245d2afa4dff99326bd7cbcb12914d785e5d58232af508cb926c07

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

<%= render "header", hide_breadcrumbs: local_assigns.fetch(:hide_breadcrumbs, false) if local_assigns.fetch(:header, true) %>

<div class="main-content-area">
  <%= render "flash" %>
  <%= render "utilities" %>
  <%= render "tabs" %>

  <% if local_assigns.fetch(:wrapper, true) %>
    <%= container do |c| %>
      <%= yield %>

      <% c.sidebar do %>
        <%= content_for(:sidebar) %>
      <% end if content_for?(:sidebar) %>
    <% end %>
  <% else %>
    <%= yield %>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trestle-0.8.7 app/views/trestle/application/_layout.html.erb
trestle-0.8.6 app/views/trestle/application/_layout.html.erb
trestle-0.8.5 app/views/trestle/application/_layout.html.erb
trestle-0.8.4 app/views/trestle/application/_layout.html.erb
trestle-0.8.3 app/views/trestle/application/_layout.html.erb