Sha256: 0c41a17f82e6e719a4be9c85cc51215c49102af61da17b31ffcecdbfe24b3b81

Contents?: true

Size: 728 Bytes

Versions: 7

Compression:

Stored size: 728 Bytes

Contents

<header class="content-header">
  <% if content_for?(:primary_toolbar) %>
    <div class="btn-toolbar primary-toolbar">
      <%= content_for(:primary_toolbar) %>
    </div>
  <% end %>

  <% if content_for?(:secondary_toolbar) %>
    <div class="btn-toolbar secondary-toolbar">
      <%= content_for(:secondary_toolbar) %>
    </div>
  <% end %>

  <h1>
    <%= content_for(:title) %>
  </h1>

  <% unless local_assigns.fetch(:hide_breadcrumbs, false) %>
  <ol class="breadcrumb">
    <% breadcrumbs.each do |breadcrumb| %>
      <li class="breadcrumb-item<% if breadcrumb == breadcrumbs.last %> active<% end %>">
        <%= link_to breadcrumb.label, breadcrumb.path %>
      </li>
    <% end %>
  </ol>
  <% end %>
</header>

Version data entries

7 entries across 7 versions & 1 rubygems

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