1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Made new links buttons and moved them around

This commit is contained in:
2015-04-27 15:10:30 -04:00
parent e7bfad8df0
commit cf7b19838c

View File

@@ -13,6 +13,8 @@
<%= @tournament.address %>
</p>
<p>
<strong>Director:</strong>
<%= @tournament.director %>
@@ -31,6 +33,10 @@
<br>
<br>
<h3>School Lineups</h3>
<br>
<% if user_signed_in? %><%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %><% end %>
<br>
<br>
<table class="table table-striped table-bordered">
<thead>
<tr>
@@ -38,11 +44,8 @@
<th></th>
</tr>
</thead>
<br>
<% if user_signed_in? %>
<%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}" %>
<% end %>
<br>
<tbody>
<% @schools.each do |school| %>
<tr>
@@ -59,14 +62,17 @@
</table>
<br>
<br>
<% if user_signed_in? %>
<%= link_to "New #{@tournament.name} Weight" , "/weights/new?tournament=#{@tournament.id}" %>
<h3>Weight Class Seeds</h3>
<br>
<%= 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" %>
<br>
<%= link_to "Create HS Weights" , "/static_pages/createCustomWeights?tournament=#{@tournament.id}&customValue=hs", :class=>"btn btn-default" %>
<% end %>
<br>
<br>
<h3>Weight Class Seeds</h3>
<table class="table table-striped table-bordered">
<thead>
<tr>
@@ -95,10 +101,12 @@
<br>
<br>
<h3>Mats</h3>
<br>
<% if user_signed_in? %>
<%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}" %>
<br>
<br>
<%= link_to "New #{@tournament.name} Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<table class="table table-striped table-bordered">
<thead>
<tr>