Sha256: 46cb34c2959de37a17b1c194d412140aa0a353b1a10725b09d36c9e5f21847d2
Contents?: true
Size: 1.57 KB
Versions: 5
Compression:
Stored size: 1.57 KB
Contents
%nav.navbar.navbar-expand-lg.navbar-light.bg-light %a.navbar-brand{ href: root_path } %i.fas.fa-home = '<%= app_name.capitalize %>' %button.navbar-toggler{ 'aria-controls' => 'navbar-nav-dropdown', 'aria-expanded' => 'false', 'aria-label' => 'Toggle navigation', 'data-target' => '#navbar-nav-dropdown', 'data-toggle' => 'collapse', type: 'button' } %span.navbar-toggler-icon .collapse.navbar-collapse#navbar-nav-dropdown %ul.navbar-nav.ml-auto %li.nav-item = link_to about_welcome_index_path, class: 'nav-link' do = t('view.welcome.navbar.about') %li.nav-item = link_to contact_welcome_index_path, class: 'nav-link' do = t('view.welcome.navbar.contact') - if user_signed_in? %li.nav-item = link_to destroy_user_session_path, class: 'nav-link', method: :delete do %i.fas.fa-sign-out-alt = t('view.navbar.sign_out') %li.nav-item = link_to user_profile_path(current_user), class: 'nav-link' do %i.fas.fa-user = t('view.navbar.profile') - else %li.nav-item = link_to new_user_session_path, class: 'nav-link' do %i.fas.fa-sign-in-alt{ 'aria-hidden' => 'true' } = t('view.navbar.signin') %li.nav-item = link_to new_user_registration_path, class: 'nav-link' do %i.fas.fa-user-plus{ 'aria-hidden' => 'true' } = t('view.navbar.signup')
Version data entries
5 entries across 5 versions & 1 rubygems