diff --git a/app/views/shared/_order_selector.html.erb b/app/views/shared/_order_selector.html.erb index e36123293..4caa83b3c 100644 --- a/app/views/shared/_order_selector.html.erb +++ b/app/views/shared/_order_selector.html.erb @@ -1,14 +1,16 @@ -
- - -
+<% if @valid_orders.present? && @valid_orders.count > 1 %> +
+ + +
+<% end %> diff --git a/app/views/shared/_wide_order_selector.html.erb b/app/views/shared/_wide_order_selector.html.erb index 0fda8b0b5..d5b1405eb 100644 --- a/app/views/shared/_wide_order_selector.html.erb +++ b/app/views/shared/_wide_order_selector.html.erb @@ -2,25 +2,26 @@ # # i18n_namespace: for example "moderation.debates.index" %> - -
-
-
- -
-
- -
-
-
+<% if @valid_orders.present? && @valid_orders.count > 1 %> +
+
+
+ +
+
+ +
+
+
+<% end %>