12 lines
347 B
Text
12 lines
347 B
Text
|
<div class="subnav tabs is-centered">
|
||
|
<ul>
|
||
|
<% subnavigables(@item[:subnavigation][:bar]).map { |e| e[:subnavigation] }.each do |nav| %>
|
||
|
<li class="<%= 'is-active' if @selected == nav[:identifier] %>">
|
||
|
<a href="<%= "/#{nav[:bar]}/#{nav[:identifier]}" %>">
|
||
|
<%= nav[:name] %>
|
||
|
</a>
|
||
|
</li>
|
||
|
<% end %>
|
||
|
</ul>
|
||
|
</div>
|