<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>