You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/competitions/show.html.erb

19 lines
936 B

<div id="competition-content">
<% if @competition.identifier == "hn" %>
<%= render :partial => "hn_competition" %>
<% elsif @competition.identifier == "ccf-se-2018" %>
<%= render :partial => "ccf_competition" %>
<% elsif @competition.identifier == "gcc-dev-2018" %>
<%= render :partial => "qg_competition" %>
<% elsif @competition.identifier == "gcc-annotation-2018" %>
<%= render :partial => "annotation_2018_competition" %>
<% elsif @competition.identifier == "gcc-task-2019" %>
<%= render :partial => "qg_second_competition" %>
<% elsif @competition.identifier == "gcc-annotation-2019" %>
<%= render :partial => "gq_second_code_competition" %>
<% elsif @competition.identifier == "gcc-course-2019" %>
<%= render :partial => "qg_second_course_competition" %>
<% elsif @competition.identifier == "gcc-project-2019" %>
<%= render :partial => "qg_second_opensource" %>
<% end %>
</div>