<% 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" %> <% end %>