app/views/_controls.html.erb
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container-fluid">
<div class="row">
<ul class="nav navbar-nav col-sm-5">
<li <%= 'class="active"' if current_page?(hyrax.about_path) %>>
<%= link_to t(:'hyrax.controls.about'), hyrax.about_path, aria: current_page?(hyrax.about_path) ? {current: 'page'} : nil %></li>
<li <%= 'class="active"' if current_page?(hyrax.help_path) %>>
<%= link_to t(:'hyrax.controls.help'), hyrax.help_path, aria: current_page?(hyrax.help_path) ? {current: 'page'} : nil %></li>
<li <%= 'class="active"' if current_page?(hyrax.contact_path) %>>
<%= link_to t(:'hyrax.controls.contact'), hyrax.contact_path, aria: current_page?(hyrax.contact_path) ? {current: 'page'} : nil %></li>
<li <%= 'class="active"' if current_page?(advanced_search_path) %>>
<%= link_to t(:'spot.controls.advanced_search'), advanced_search_path, aria: current_page?(advanced_search_path) ? {current: 'page'} : nil %></li>
</ul><!-- /.nav -->
<div class="searchbar-right navbar-right col-sm-7">
<%= render partial: 'catalog/search_form' %>
</div>
</div>
</div>
</nav><!-- /.navbar -->