|
|
@ -3,6 +3,8 @@
|
|
|
|
<div class="mt20 mb20 clearfix">
|
|
|
|
<div class="mt20 mb20 clearfix">
|
|
|
|
<%= link_to '全部', competitions_path(category: ''), remote: true,
|
|
|
|
<%= link_to '全部', competitions_path(category: ''), remote: true,
|
|
|
|
class: "fl mr20 font-16 bestChoose shixun_repertoire #{params[:category].blank? ? 'active' : ''}" %>
|
|
|
|
class: "fl mr20 font-16 bestChoose shixun_repertoire #{params[:category].blank? ? 'active' : ''}" %>
|
|
|
|
|
|
|
|
<%= link_to '即将发布', competitions_path(category: 'nearly_published'), remote: true,
|
|
|
|
|
|
|
|
class: "fl mr20 font-16 bestChoose shixun_repertoire #{params[:category] == 'nearly_published' ? 'active' : ''}" %>
|
|
|
|
<%= link_to '进行中', competitions_path(category: 'progressing'), remote: true,
|
|
|
|
<%= link_to '进行中', competitions_path(category: 'progressing'), remote: true,
|
|
|
|
class: "fl mr20 font-16 bestChoose shixun_repertoire #{params[:category] == 'progressing' ? 'active' : ''}" %>
|
|
|
|
class: "fl mr20 font-16 bestChoose shixun_repertoire #{params[:category] == 'progressing' ? 'active' : ''}" %>
|
|
|
|
<%= link_to '往期比赛', competitions_path(category: 'ended'), remote: true,
|
|
|
|
<%= link_to '往期比赛', competitions_path(category: 'ended'), remote: true,
|
|
|
|