creddit/app/views/application/_navbar.html.slim

20 lines
747 B
Text
Raw Permalink Normal View History

2015-07-15 00:26:23 -04:00
.navbar.navbar-default.navbar-static-top.navbar-custom
2015-07-09 16:49:51 -04:00
.container-fluid
.navbar-header
button.navbar-toggle.collapsed type='button' data-toggle='collapse' data-target='.navbar-collapse'
span.sr-only Toggle navigation
span.icon-bar
span.icon-bar
span.icon-bar
2015-07-15 00:26:23 -04:00
.pull-left= link_to image_tag('logo.png', height: 44, class: 'logo'), root_path
2015-07-09 16:49:51 -04:00
= link_to 'Creddit', root_path, class: 'navbar-brand'
.collapse.navbar-collapse
ul.nav.navbar-nav
2015-08-06 16:31:08 -04:00
li= page_header
ul.nav.navbar-nav.navbar-right
- if logged_in?
li= link_to 'Sign Out', signout_path
- else
li= link_to 'Create Account', signup_path
li= link_to 'Sign In', signin_path