From 7a1c1133805e263e217450dec8e94d5ee50bda1a Mon Sep 17 00:00:00 2001 From: FreeTrade Date: Tue, 5 Jul 2016 13:07:13 +0700 Subject: [PATCH] Update index.html.slim --- app/views/arguments/index.html.slim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/views/arguments/index.html.slim b/app/views/arguments/index.html.slim index 65d33e2..ae09b0c 100644 --- a/app/views/arguments/index.html.slim +++ b/app/views/arguments/index.html.slim @@ -21,13 +21,10 @@ h1 =t '.title', :default => model_class.model_name.human.pluralize.titleize div role="navigation" ul.nav.nav-tabs - li class="#{action_name=='controversial' ? 'active' : ''}" =link_to "Controversial", controversial_arguments_path - li class="#{action_name=='popular' ? 'active' : ''}" =link_to "Popular", popular_arguments_path - li class="#{action_name=='decided' ? 'active' : ''}" =link_to "Decided", decided_arguments_path - li class="#{action_name=='valid' ? 'active' : ''}" =link_to "Valid", valid_arguments_path - li class="#{action_name=='invalid' ? 'active' : ''}" =link_to "Invalid", invalid_arguments_path li class="#{action_name=='active' ? 'active' : ''}" =link_to "Active", active_arguments_path li class="#{action_name=='newest' ? 'active' : ''}" =link_to "Newest", newest_arguments_path + li class="#{action_name=='controversial' ? 'active' : ''}" =link_to "Controversial", controversial_arguments_path + li class="#{action_name=='decided' ? 'active' : ''}" =link_to "Threshold Reached", decided_arguments_path table.table - @arguments.each do |argument|