<div id="topnav">
    <ul id="navigation">
        <li class="selected"><%= link_to _("Quiénes somos"), help_about_path %></li>
        <li class="selected"><%= link_to _("Guía para solicitantes"), help_requesting_path %></li>
        <li class="selected"><%= link_to _("Solicitar documentos"), body_index_path, :class => 'make-request-link' %></li>
        <li class="selected"><%= link_to _("Buscar solicitudes"), request_list_all_url %></li>
    </ul>
</div>
<div id="topnav">
    <ul id="navigation">
        <li class="<%= 'selected' if params[:controller] == 'help' and params[:action] != 'requesting'%>"><%= link_to _("Quiénes somos"), help_about_path %></li>
        <li class="<%= 'selected' if params[:controller] == 'help' and params[:action] == 'requesting'%>"><%= link_to _("Guía para solicitantes"), help_requesting_path %></li>
        <li class="<%= 'selected' if params[:controller] == 'public_body' or (params[:controller] == 'request' and !['list'].include?(params[:action])) %>"><%= link_to _("Solicitar documentos"), body_index_path, :class => 'make-request-link' %></li>
        <li class="<%= 'selected' if params[:controller] == 'request' and ['list'].include?(params[:action]) %>"><%= link_to _("Buscar solicitudes"), request_list_all_url %></li>
    </ul>
</div>
Select only one tab in topnav at a time
Select only one tab in topnav at a time
