Sha256: 47c0aa3cf5892d3fca0a9479b45594f980976e2fd46cd6d7e5b998b084d58ea7
Contents?: true
Size: 543 Bytes
Versions: 46
Compression:
Stored size: 543 Bytes
Contents
<% if breadcrumb.any? %> <ol class="breadcrumb"> <li class="breadcrumb-item"><%= link_to icon(:home), backend_path %></li> <% breadcrumb.each do |item| %> <% last = (item == breadcrumb.all.last) %> <% klass = last ? 'active' : '' %> <li class="breadcrumb-item <%= klass %>"> <% if item[:link].present? && !last %> <%= link_to item[:name].to_s.html_safe, item[:link] %> <% else %> <%= item[:name].to_s.html_safe %> <% end %> </li> <% end %> </ol> <% end %>
Version data entries
46 entries across 46 versions & 1 rubygems