From 4435f7f5e6a5c9ebdadab8cd6eae35715b2c9fa3 Mon Sep 17 00:00:00 2001 From: Absurdon Date: Sun, 8 Oct 2017 16:03:22 +0200 Subject: [PATCH] Fixed wrong tag beeing used and some styling --- app/views/contests/confirmed_matches.html.erb | 6 +++--- app/views/match_proposals/index.html.erb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/contests/confirmed_matches.html.erb b/app/views/contests/confirmed_matches.html.erb index 14a5c89..59a4427 100644 --- a/app/views/contests/confirmed_matches.html.erb +++ b/app/views/contests/confirmed_matches.html.erb @@ -5,9 +5,9 @@ Scheduled for <% @match_props && @match_props.each do |mp| %> - - <%= link_to mp.match.contester1, contester_path(mp.match.contester1) %> VS <%= link_to mp.match.contester2, contester_path(mp.match.contester2) %> - <%= link_to longertime(mp.proposed_time), match_path(mp.match) %> + + <%= link_to mp.match.contester1, contester_path(mp.match.contester1) %> VS <%= link_to mp.match.contester2, contester_path(mp.match.contester2) %> + <%= link_to longertime(mp.proposed_time), match_path(mp.match) %> <% end %> \ No newline at end of file diff --git a/app/views/match_proposals/index.html.erb b/app/views/match_proposals/index.html.erb index adf2829..7a7835a 100644 --- a/app/views/match_proposals/index.html.erb +++ b/app/views/match_proposals/index.html.erb @@ -10,7 +10,7 @@ Time Status <% if @match.can_make_proposal?(cuser) %> - Actions + Actions <% end %> <% @match.match_proposals.each do |proposal| %> @@ -19,7 +19,7 @@ <%= longtime proposal.proposed_time %> <%= MatchProposal.status_strings[proposal.status] %> <% if @match.can_make_proposal?(cuser) %> - + <% unless proposal.state_immutable? %> <%= form_for proposal, url: match_proposal_path(@match, proposal) do |f| %> <%= f.hidden_field :status, value: 0 %>