%nav.navbar.navbar-default.navbar-fixed-top .container .navbar-header %button.navbar-toggle.collapsed{type: 'button', data: {toggle: 'collapse', target: '#navbar'}, 'aria-expanded': false, 'aria-controls': 'navbar'} .sr-only = t 'collapse' .icon-bar .icon-bar .icon-bar = link_to root_path, class: 'navbar-brand' do = image_tag "aardbei.svg", height: '20px', title: "Waarbij?" .navbar-collapse.collapse#navbar %ul.nav.navbar-nav %li = link_to root_path do %i.fas.fa-home{'aria-hidden': true} Home %li = link_to user_groups_path do %i.fas.fa-users{'aria-hidden': true} = t 'groups.plural' - if current_person.is_admin? %li = link_to people_path do %i.fas.fa-user{'aria-hidden': true} = t 'person.plural' %li = link_to groups_path do %i.fas.fa-users{'aria-hidden': true} = t 'groups.all' %ul.nav.navbar-nav.navbar-right %li = link_to settings_path do %i.fas.fa-cogs{'aria-hidden': true} = t 'settings.settings' %li = link_to logout_path, data: {confirm: t(:areyousure)}, method: :delete do %i.fas.fa-sign-out-alt{'aria-hidden': true} = t 'log_out'