%ul.nav.navbar-nav %li.dropdown %a.dropdown-toggle{ href: '#', 'data-toggle': 'dropdown', role: 'button', 'aria-has-popup': true, 'aria-expanded': false } -if user_signed_in? = current_user.email - else = t('.not_signed_in') %span.caret %ul.dropdown-menu - if user_signed_in? %li= link_to t('.edit'), ecm_user_area.edit_current_user_path %li= link_to t('.sign_out'), ecm_user_area.user_session_path, method: :delete - else %li= link_to t('.sign_in'), ecm_user_area.new_user_session_path - if Ecm::UserArea::Configuration.enable_registrations %li= link_to t('.new'), ecm_user_area.new_current_user_path