mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-12 21:00:58 +00:00
Fixed wrong tag beeing used and some styling
This commit is contained in:
parent
c8c6d823b1
commit
4435f7f5e6
2 changed files with 5 additions and 5 deletions
|
@ -5,9 +5,9 @@
|
|||
<th>Scheduled for</th>
|
||||
</tr>
|
||||
<% @match_props && @match_props.each do |mp| %>
|
||||
<tr>
|
||||
<th><%= link_to mp.match.contester1, contester_path(mp.match.contester1) %> VS <%= link_to mp.match.contester2, contester_path(mp.match.contester2) %></th>
|
||||
<th><%= link_to longertime(mp.proposed_time), match_path(mp.match) %></th>
|
||||
<tr class="<%= cycle('even', 'odd') %>">
|
||||
<td><%= link_to mp.match.contester1, contester_path(mp.match.contester1) %> VS <%= link_to mp.match.contester2, contester_path(mp.match.contester2) %></td>
|
||||
<td><%= link_to longertime(mp.proposed_time), match_path(mp.match) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
|
@ -10,7 +10,7 @@
|
|||
<th>Time</th>
|
||||
<th>Status</th>
|
||||
<% if @match.can_make_proposal?(cuser) %>
|
||||
<th>Actions</th>
|
||||
<th class="actions">Actions</th>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% @match.match_proposals.each do |proposal| %>
|
||||
|
@ -19,7 +19,7 @@
|
|||
<td><%= longtime proposal.proposed_time %> </td>
|
||||
<td><%= MatchProposal.status_strings[proposal.status] %></td>
|
||||
<% if @match.can_make_proposal?(cuser) %>
|
||||
<td>
|
||||
<td class="actions">
|
||||
<% unless proposal.state_immutable? %>
|
||||
<%= form_for proposal, url: match_proposal_path(@match, proposal) do |f| %>
|
||||
<%= f.hidden_field :status, value: 0 %>
|
||||
|
|
Loading…
Reference in a new issue