% nav_actions = capture do %>
<%= render_nav_actions do |config, action|%>
<%= action %>
<% end %>
<% end %>
<% if nav_actions.present? %>
<% end %>
<%= render '/spotlight/shared/locale_picker' %>
<% if current_user %>
-
<%=current_user%>
<% else %>
-
<%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path, class: 'nav-link' %>
<% end %>
<% if current_exhibit and show_contact_form? %>
-
<%= link_to t('spotlight.header_links.contact'), spotlight.new_exhibit_contact_form_path(current_exhibit), data: {behavior: 'contact-link', target: 'report-problem-form' }, class: 'nav-link' %>
<% end %>