summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/games/index.html.erb4
-rw-r--r--app/views/layouts/application.html.erb5
2 files changed, 7 insertions, 2 deletions
diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb
index 2c178f5..ccd0f63 100644
--- a/app/views/games/index.html.erb
+++ b/app/views/games/index.html.erb
@@ -1,6 +1,6 @@
<h1>Listing games</h1>
-<table class="table table-hover">
+<table>
<thead>
<tr>
<th>Name</th>
@@ -32,4 +32,4 @@
<br>
-<%= link_to 'New Game', new_game_path, {:class => "btn btn-warning"} %>
+<%= link_to 'New Game', new_game_path %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index b36c0c5..e5032a4 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -14,8 +14,13 @@
<%= link_to('Leaguer', '/', nil) %>
</div>
<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") %>
+
<%= submit_tag("Go", {:class => "btn btn-warning"}) %>
<% end %>
</div>