Sha256: ff3f79c63b67e19d9ddfd52755917dcd88a2b34df12a641304c31ac6e672199f

Contents?: true

Size: 618 Bytes

Versions: 3

Compression:

Stored size: 618 Bytes

Contents

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

<div class="main-content-area" data-scroll-target>
  <turbo-frame id="flash">
    <%= render "trestle/flash/flash" %>
  </turbo-frame>

  <%= render "utilities" %>
  <%= render "tabs", data: { controller: "tabs tab-errors" } %>

  <% 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

3 entries across 3 versions & 1 rubygems

Version Path
trestle-0.10.0 app/views/trestle/application/_layout.html.erb
trestle-0.10.0.pre2 app/views/trestle/application/_layout.html.erb
trestle-0.10.0.pre app/views/trestle/application/_layout.html.erb