You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
580 B
16 lines
580 B
3 years ago
|
<nav class="app-sub-navigation" aria-label="secondary">
|
||
|
<ul class="app-sub-navigation__list">
|
||
|
<% items.each do |item| %>
|
||
|
<% if item.current %>
|
||
|
<li class="app-sub-navigation__item app-sub-navigation__item--current">
|
||
|
<%= govuk_link_to item[:text], item[:href], class: "app-sub-navigation__link", aria: { current: "page" } %>
|
||
|
</li>
|
||
|
<% else %>
|
||
|
<li class="app-sub-navigation__item">
|
||
|
<%= govuk_link_to item[:text], item[:href], class: "app-sub-navigation__link" %>
|
||
|
</li>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
</ul>
|
||
|
</nav>
|