<% if nav.length > 1 %>
  <div class="page-header">
   <ol class="breadcrumb">
    <% nav.each do |n| %>
      <% if nav.last != n %>
        <li class="breadcrumb-item">
          <% if n[:url].present? %>
            <%= link_to "#{n[:title]}", n[:url] %>
          <% else %>
            <span><%= n[:title] %></span>
          <% end %>
        </li>
      <% else %>
        <li class="breadcrumb-item active"><%= n[:title] %></li>
      <% end %>
    <% end %>
    <% if back.present? %>
      <span class="float-right">
        <%= link_to t('.back', :default => t("views.btn.back")), back.first[:url] %>
      </span>
    <% end %>
  </ol>
  </div>
<% end %>
