init project

This commit is contained in:
Jasder
2020-03-09 00:40:16 +08:00
commit 2937b2a94d
6549 changed files with 7215173 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<% if @_breadcrumbs.present? %>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<% @_breadcrumbs&.each_with_index do |item, index| %>
<% if item.url.present? && index != @_breadcrumbs.size - 1 %>
<li class="breadcrumb-item"><%= link_to item.text, item.url %></li>
<% else %>
<li class="breadcrumb-item active" aria-current="page"><%= item.text %></li>
<% end %>
<% end %>
</ol>
</nav>
<% end %>