diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-03-04 17:57:24 -0500 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-03-04 17:57:24 -0500 |
commit | c6ba6c11c7f0665064efdfc9385a5b8e1deaee50 (patch) | |
tree | 6c48690a8873b8e3f3aeb0fadd137801cb548994 /app/views/layouts/application.html.erb | |
parent | 134360da46c1f8e5153c1c9eb5180ac990150d93 (diff) | |
parent | d37bfd1e96f01d6f0fae275924e89dfe17a94938 (diff) |
mergin' the wizard
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r-- | app/views/layouts/application.html.erb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6fdbbec..e13a8df 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,10 +20,11 @@ <div id="log-buttons"> <% if signed_in? %> <%= current_user.user_name.upcase %> - <button type="button" class="btn btn-danger" ><%= link_to "Sign out", session_path("current"), method: "delete" %></button> + <%= link_to "Sign out", session_path("/signout"), method: "delete", :class => "signout", :role => "button" %> <% else %> - <button type="button" class="btn btn-info" ><%= link_to "Log in", new_session_path %></button> - <button type="button" class="btn btn-success"><%= link_to "Sign up", new_user_path %></button> + <%= link_to "Log in", new_session_path, :class => "signin", :role => "button" %> + <%= link_to "Sign up", new_user_path, :class => "signup", :role => "button" + %> <% end %> </div> </nav></header> |