mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Do not show join contest header
This commit is contained in:
parent
ae1e2ef833
commit
2a21f70603
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@
|
||||||
<%= link_to 'Edit Contest', edit_contest_path(@contest), class: 'button' %>
|
<%= link_to 'Edit Contest', edit_contest_path(@contest), class: 'button' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<h4>Join Contest</h4>
|
|
||||||
|
|
||||||
<% if @contest.can_join?(cuser) %>
|
<% if @contest.can_join?(cuser) %>
|
||||||
|
<h4>Join Contest</h4>
|
||||||
|
|
||||||
<%= form_for @contest.contesters.build, html: { class: 'square' } do |f| %>
|
<%= form_for @contest.contesters.build, html: { class: 'square' } do |f| %>
|
||||||
<%= f.hidden_field :contest_id %>
|
<%= f.hidden_field :contest_id %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue