diff options
author | Azul <azul@leap.se> | 2012-12-07 08:28:23 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-07 08:28:23 +0100 |
commit | 1ec55c4f562a4fdd57c50077ff286ef08e9978a1 (patch) | |
tree | 16203d2ca4f32e24d38fef6062aa9534cecb3bfe /users/app/views/sessions/_nav.html.haml | |
parent | effa6b0f84cfe954cc9dd73f592663b743b0d857 (diff) | |
parent | a3dce077881c7e97090e5e560b1fb004952d5b23 (diff) |
Merge branch 'develop'
Diffstat (limited to 'users/app/views/sessions/_nav.html.haml')
-rw-r--r-- | users/app/views/sessions/_nav.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/users/app/views/sessions/_nav.html.haml b/users/app/views/sessions/_nav.html.haml new file mode 100644 index 0000000..5306d0e --- /dev/null +++ b/users/app/views/sessions/_nav.html.haml @@ -0,0 +1,13 @@ +- if logged_in? + - if admin? + %li.dropdown + = render 'sessions/admin_nav' + %li + = link_to current_user.login, edit_user_path(current_user) + %li + = link_to t(:logout), logout_path +- else + %li + = link_to t(:login), login_path + %li + = link_to t(:signup), signup_path |