From d75fe3934366ea5e2581df6111c6bccdb77d1e95 Mon Sep 17 00:00:00 2001 From: tkimia Date: Tue, 22 Apr 2014 01:50:18 -0400 Subject: redesign of tournaments index and matches index --- app/views/tournaments/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/tournaments/index.html.erb') diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 7957042..eef9577 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -5,8 +5,8 @@ <%# Each tournament has a div for its listing %> <% @tournaments.each do |t| %>
-
<%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(t.hosts.first.email) + '?s=100&d=mm' %>
-
+
<%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(t.hosts.first.email) + '?s=100&d=mm' %>
+
<%# "header" %> <%= link_to(t) do %>

<%= t.name %>

<% end %>
@@ -23,7 +23,7 @@
-
+
<% if signed_in? %> <% if !t.players.include?(current_user) %> <%= form_tag(tournament_path(t), method: "put") do %> -- cgit v1.2.3-2-g168b