app/views/trestle/application/_header.html.erb in trestle-0.10.0.pre vs app/views/trestle/application/_header.html.erb in trestle-0.10.0.pre2

- old
+ new

@@ -1,18 +1,8 @@ <header class="content-header"> <div class="content-header-title"> <h1><%= 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, data: { turbo_frame: "_top" } %> - </li> - <% end %> - </ol> - <% end %> </div> <div class="content-header-toolbars"> <div class="btn-toolbar primary-toolbar" role="toolbar"> <%= render_toolbar(toolbar(:primary)) %> @@ -22,6 +12,18 @@ <div class="btn-toolbar secondary-toolbar" role="toolbar"> <%= render_toolbar(toolbar(:secondary)) %> <%= deprecated_toolbar(:secondary) %> </div> </div> + + <% unless local_assigns.fetch(:hide_breadcrumbs, false) %> + <div class="content-header-breadcrumbs"> + <ol class="breadcrumb"> + <% breadcrumbs.each do |breadcrumb| %> + <li class="breadcrumb-item<% if breadcrumb == breadcrumbs.last %> active<% end %>"> + <%= link_to breadcrumb.label, breadcrumb.path, data: { turbo_frame: "_top" } %> + </li> + <% end %> + </ol> + </div> + <% end %> </header>