<% if @competition.identifier == "hn" %> <%= render :partial => "hn_competition" %> <% elsif @competition.identifier == "ccf-se-2018" || competition.identifier == "ccf-se-2019" %> <%= 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 %>