<%= proposal.team.name %> |
<%= longtime proposal.proposed_time %> |
<%= proposal.status_strings[proposal.status] %> |
<% if @match.can_make_proposal?(cuser) %>
<%= form_for proposal, url: match_proposal_path(@match, proposal) do |f| %>
<%= f.hidden_field :status, value: 0 %>
<%= link_to_function icon('check'), "proposalStateSubmit(#{MatchProposal::STATUS_CONFIRMED},#{proposal.id})" %>
<%= link_to_function icon('times'), "proposalStateSubmit(#{MatchProposal::STATUS_REJECTED},#{proposal.id})" %>
<% end %>
|
<% end %>
<% end %>