Browse Source

Moved userbar to top of page; removed redundant commented block

master
CharlotteGilhooly 12 years ago
parent
commit
95f9b8e691
1 changed files with 7 additions and 9 deletions
  1. +7
    -9
      app/views/layouts/application.html.haml

+ 7
- 9
app/views/layouts/application.html.haml View File

@@ -8,6 +8,13 @@


%body %body
#userbar
- if current_user
Logged in as
= current_user.email
= link_to "Log out", logout_path
- if notice - if notice
%p#notice= notice %p#notice= notice


@@ -16,15 +23,6 @@
= link_to(image_tag("TAL_logo_blue-h100.png", :size => "275x100", :alt => "Talk About Local logo"), :root, :class => "logo") = link_to(image_tag("TAL_logo_blue-h100.png", :size => "275x100", :alt => "Talk About Local logo"), :root, :class => "logo")
#userbar
- if current_user
Logged in as
= current_user.email
= link_to "Log out", logout_path
- else
-#
= link_to "Log in", login_path
= yield = yield





Loading…
Cancel
Save