<%= namelink @match.contester1.team %> vs <%= namelink @match.contester2.team %>

Lineup

<%= form_for @match do |f| %> <%= render :partial => "lineup", :locals => {:contester => @contester} %>

<%= f.submit "Save" %>

<% end %>
<% if @match.can_update? cuser, [:score1, :score2] %>
<%= form_for(@match) do |f| %>

Scoring

<%= f.error_messages %>

<%= f.label :score1, "Score" %>
<%= f.text_field :score1, :size => 1 %> <%= f.text_field :score2, :size => 1 %>

<%= f.submit 'Submit' %>

<% end %>
<% end %> <%= link_to "Back", @match %>