Retrospring/app/views/navigation/_guest.haml

11 lines
608 B
Plaintext
Raw Normal View History

%nav.navbar.navbar-themed.navbar-expand-lg.bg-primary.fixed-top{ role: :navigation }
2020-05-10 02:35:10 -07:00
.container{ class: ios_web_app? ? 'ios-web-app' : '' }
%a.navbar-brand{ href: '/' }= APP_CONFIG['site_name']
%button.navbar-toggler{ data: { target: '#j2-main-navbar-collapse', toggle: :collapse }, type: :button }
%span.sr-only Toggle navigation
%span.navbar-toggler-icon
2020-05-10 02:35:10 -07:00
.collapse.navbar-collapse#j2-main-navbar-collapse
%ul.nav.navbar-nav.ml-auto
= nav_entry t('views.sessions.create'), new_user_session_path
2020-05-10 02:35:10 -07:00
= nav_entry t('views.sessions.new'), new_user_registration_path