mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-17 13:24:36 +00:00
Cleaning up views and controllers
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<%= link_to "Back to #{@tournament_name}", "/tournaments/#{@tournament_id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<% if @tournament %>
|
||||
<% if params[:tournament] %>
|
||||
<% @weights.each do |weight| %>
|
||||
<%= link_to "#{weight.max}" , "/static_pages/weigh_in?weight=#{weight.id}" %>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user