From 94087d04535261d97e0d8e3ffcbeb2e34244b93e Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 9 Apr 2018 19:33:05 +0200 Subject: [PATCH] Updates tabs component for legislation proposals --- .../proposals/_filter_subnav.html.erb | 31 ++++++++++--------- app/views/legislation/proposals/show.html.erb | 10 ++++-- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/app/views/legislation/proposals/_filter_subnav.html.erb b/app/views/legislation/proposals/_filter_subnav.html.erb index 0250d36db..3b404338b 100644 --- a/app/views/legislation/proposals/_filter_subnav.html.erb +++ b/app/views/legislation/proposals/_filter_subnav.html.erb @@ -1,14 +1,17 @@ -
-
-
    -
  • - <%= link_to "#tab-comments" do %> -

    - <%= t("proposals.show.comments_tab") %> - (<%= @proposal.comments_count %>) -

    - <% end %> -
  • -
-
-
+ diff --git a/app/views/legislation/proposals/show.html.erb b/app/views/legislation/proposals/show.html.erb index 1867644ca..62f35d614 100644 --- a/app/views/legislation/proposals/show.html.erb +++ b/app/views/legislation/proposals/show.html.erb @@ -113,10 +113,14 @@ <% end %> -
- <%= render "legislation/proposals/filter_subnav" %> +
+
+ <%= render "legislation/proposals/filter_subnav" %> +
+
-
+
+