mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-04 22:03:49 +00:00
Removed sidebars, added tournament navbar, and removed chitika ads
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<h1>Editing weight</h1>
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<h1>New weight</h1>
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
<%= link_to "Back to #{@weight.tournament.name}", "/tournaments/#{@weight.tournament.id}", :class=>"btn btn-default" %>
|
||||
<br><br>
|
||||
<%= @weight.max %> lbs 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,11 +1,7 @@
|
||||
|
||||
|
||||
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<% if can? :manage, @tournament %>
|
||||
| <%= link_to "Edit #{@weight.max} Weight Class", edit_weight_path(@weight), :class=>"btn btn-primary" %>
|
||||
| <%= form_for(@weight, url: regen_weight_path(@weight.id), :method => "post") do |f| %>
|
||||
<%= submit_tag "Regenerate Weight Class Matches", :class=>"btn"%>
|
||||
<%= link_to "Edit #{@weight.max} Weight Class", edit_weight_path(@weight), :class=>"btn btn-primary" %> |
|
||||
<%= form_for(@weight, url: regen_weight_path(@weight.id), :method => "post") do |f| %>
|
||||
<%= submit_tag "Regenerate Weight Class Matches", :class=>"btn btn-default"%>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user