diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 22:13:47 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 22:13:47 -0500 |
commit | 2f450dd30bb210fdc4cb8899c72e6da945a163ba (patch) | |
tree | f6867f22c5ac17ffb5fb930abab176f7ef7009c6 /app/views/layouts | |
parent | 46fba3e280d601b2b2981dd145bab3bb11194b30 (diff) |
Logout reconfigured
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/application.html.erb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index e5032a4..47586f1 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -13,11 +13,10 @@ <div class="navbar-brand no-dec"> <%= link_to('Leaguer', '/', nil) %> </div> + + <a id="log-out-btn" class="btn btn-warning navbar-left" href="/signout" role="button" style="margin-top: 9px;"> Log Out</a> + <div> - <% if signed_in? %> - <a class="btn btn-warning" href="/signout" role="button"> - Log Out </a> - <% end %> <%= form_tag("/search", method: "get", :class => "navbar-form navbar-right") do %> <%= text_field_tag(:query, nil, :placeholder => "Search") %> |