<% 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-dev-2019" %> <%= render :partial => "qg_second_competition" %> <% elsif @competition.identifier == "gcc-annotation-2019" %> <%= render :partial => "gq_second_code_competition" %> <% end %>