diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-05-01 16:19:34 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-05-01 16:19:34 -0400 |
commit | d7a0fffe1aab9de4b18db88c409fcd5dc486ab5c (patch) | |
tree | 753f097f582c262c75d2231f960e51c483bac15f /app/views/layouts/application.html.erb | |
parent | d95a6526188f60562f8f7024592f5bbb85162fe6 (diff) |
clean up forms
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r-- | app/views/layouts/application.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1b83e53..7cb7e0f 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -22,7 +22,7 @@ </div> <div class="navbar-collapse"> <div id="user-actions"> - <div> + <span> <% if signed_in? %> <%= link_to current_user.user_name, current_user, :class => "user", :role => :button %> <%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout", :role => :button %> @@ -30,9 +30,9 @@ <%= link_to "Log in", new_session_path, :class => "signin", :role => :button %> <%= link_to "Sign up", new_user_path, :class => "signup", :role => :button %> <% end %> - </div> + </span> <% if current_user.can? :create_alert %> - <%= link_to "Create Alert", new_alert_path, :class => "create-alert", :role => :button %> + <span><%= link_to "Create Alert", new_alert_path, :class => "create-alert", :role => :button %></span> <% end %> </div> <% if signed_in? %> |