Commit 1e689461f4cbb5d9c2abcdde24f102ee10de13e1
1 parent
39a8af1612
Exists in
master
Add additional consideration to the header to disply login and
signup links when a user is not logged in.
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
client/includes/_header.html
... | ... | @@ -20,6 +20,11 @@ |
20 | 20 | </ul> |
21 | 21 | </li> |
22 | 22 | </ul> |
23 | + {{else}} | |
24 | + <ul class="nav navbar-nav navbar-right"> | |
25 | + <li><a href="{{pathFor 'login'}}">Login</a></li> | |
26 | + <li><a href="{{pathFor 'signup'}}">Sign Up</a></li> | |
27 | + </ul> | |
23 | 28 | {{/if}} |
24 | 29 | </div> <!-- end .navbar-collapse --> |
25 | 30 | </div> <!-- end .container-fluid --> | ... | ... |