diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb index 426f0c5..ca19718 100644 --- a/app/views/tournaments/show.html.erb +++ b/app/views/tournaments/show.html.erb @@ -13,6 +13,8 @@ <%= @tournament.address %>

+ +

Director: <%= @tournament.director %> @@ -31,6 +33,10 @@

School Lineups

+
+<% if user_signed_in? %><%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %><% end %> +
+
@@ -38,11 +44,8 @@ -
- <% if user_signed_in? %> - <%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}" %> - <% end %> -
+ + <% @schools.each do |school| %> @@ -59,14 +62,17 @@


-<% if user_signed_in? %> - <%= link_to "New #{@tournament.name} Weight" , "/weights/new?tournament=#{@tournament.id}" %> + + +

Weight Class Seeds


- <%= link_to "Create HS Weights" , "/static_pages/createCustomWeights?tournament=#{@tournament.id}&customValue=hs" %> +<% if user_signed_in? %> + <%= link_to "New #{@tournament.name} Weight" , "/weights/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %> +
+ <%= link_to "Create HS Weights" , "/static_pages/createCustomWeights?tournament=#{@tournament.id}&customValue=hs", :class=>"btn btn-default" %> <% end %>

-

Weight Class Seeds

@@ -95,10 +101,12 @@

+

Mats

+
<% if user_signed_in? %> - <%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}" %> -
-
+ <%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %> +
+