From 92de6546b723bdc781891cd11ec2db2483f874da Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 13 Jan 2016 19:05:11 +0100 Subject: [PATCH] removes obsolete order select --- app/views/debates/index.html.erb | 16 ---------------- app/views/proposals/index.html.erb | 26 +++++--------------------- 2 files changed, 5 insertions(+), 37 deletions(-) diff --git a/app/views/debates/index.html.erb b/app/views/debates/index.html.erb index e327534b1..10644632c 100644 --- a/app/views/debates/index.html.erb +++ b/app/views/debates/index.html.erb @@ -32,22 +32,6 @@ <%= render 'shared/order_links', i18n_namespace: "debates.index" %> - <% if @tag_filter || @search_terms || @advanced_search_terms %> -
-
- <%= t("debates.index.select_order") %> -
- <%= render 'shared/order_selector', i18n_namespace: "debates.index" %> -
- <% else %> -
-

- <%= t("debates.index.select_order_long") %> -

- <%= render 'shared/order_selector', i18n_namespace: "debates.index" %> -
- <% end %> - - <% if @tag_filter || @search_terms || @advanced_search_terms %> -
-
- <%= t("proposals.index.select_order") %> -
- <%= render 'shared/order_selector', i18n_namespace: "proposals.index" %> -
- <% else %> -
-

- <%= t("proposals.index.select_order_long") %> -

- <%= render 'shared/order_selector', i18n_namespace: "proposals.index" %> -
- <% end %> - - -
<%= link_to t("proposals.index.start_proposal"), new_proposal_path, class: 'button radius expand' %>
@@ -71,6 +50,11 @@ <%= render 'shared/order_links', i18n_namespace: "proposals.index" %> + +
<%= link_to t("proposals.index.start_proposal"), new_proposal_path, class: 'button radius expand' %>