mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Removed back to tournament button now that there is a navbar
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<% if @users %>
|
||||
<h1>Search results</h1> <%= form_tag(tournament_delegate_path, :method => "get", id: "search-form") do %>
|
||||
<%= text_field_tag :search, params[:search], placeholder: "Search users" %>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<%= link_to 'Back', tournaments_path, :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<h1>Editing tournament</h1>
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br><br>
|
||||
<%= @tournament.match_generation_error %>
|
||||
@@ -1,3 +1 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br><br>
|
||||
Matches are being generated. This can take anywhere from 1-5 minutes to finish. It is recommended to delete all delegated school permissions to prevent lineup changes after the tournament has started.
|
||||
@@ -1,9 +1,6 @@
|
||||
|
||||
|
||||
<h1>All <%= @tournament.name %> matches</h1>
|
||||
<br>
|
||||
<br>
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#matchesList').dataTable();
|
||||
@@ -11,7 +8,6 @@
|
||||
} );
|
||||
</script>
|
||||
</br>
|
||||
</br>
|
||||
<table class="table table-striped table-bordered table-condensed" id="matchesList">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<% if @users %>
|
||||
<h1>Search results</h1> <%= form_tag(school_delegate_path, :method => "get", id: "search-form") do %>
|
||||
<%= text_field_tag :search, params[:search], placeholder: "Search users" %>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
|
||||
<% if can? :manage, @tournament %>
|
||||
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
|
||||
<% cache ["#{@tournament.id}_team_scores", @tournament] do %>
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" , :class=>"btn btn-default"%>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<h3>Team Scores</h3>
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
<h1>New Point Adjustment</h1>
|
||||
</br>
|
||||
</br>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<% cache ["#{@tournament.id}_up_matches", @tournament] do %>
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
|
||||
<script>
|
||||
// $(document).ready(function() {
|
||||
// $('#matchList').dataTable();
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<% @weights.each do |weight| %>
|
||||
<%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/weigh_in/#{weight.id}" %>
|
||||
<br>
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<%= link_to "Back to weigh ins","/tournaments/#{@tournament_id}/weigh_in", :class=>"btn btn-default" %>
|
||||
<br><br>
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user