<% @weights.each do |weight| %> <%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/weigh_in/#{weight.id}" %>
<% end %>
<% if can? :manage, @tournament %> <%= form_for(@tournament) do |f| %>
<%= f.label :weigh_in_ref %>
<%= f.text_field :weigh_in_ref %>

<%= f.submit 'Submit', :class=>"btn btn-success" %> <% end %> <% end %>

<%= link_to "Printable Weigh In Sheet" , "/tournaments/#{@tournament.id}/weigh_in_sheet?print=true", target: :_blank %>