diff --git a/app/views/legislation/proposals/index.html.erb b/app/views/legislation/proposals/index.html.erb deleted file mode 100644 index 69a8df4a3..000000000 --- a/app/views/legislation/proposals/index.html.erb +++ /dev/null @@ -1,102 +0,0 @@ -<% provide :title do %><%= t('proposals.index.title') %><% end %> -<% content_for :header_addon do %> - <%= render "shared/search_form", - search_path: proposals_path(page: 1), - i18n_namespace: "proposals.index.search_form" %> -<% end %> -<% content_for :canonical do %> - <%= render "shared/canonical", href: proposals_url %> -<% end %> - -
- <% if @search_terms || @advanced_search_terms || @tag_filter || params[:retired].present? %> -
-
-
- <% if @search_terms || @advanced_search_terms %> -

<%= t("shared.search_results") %>

-

- <%= page_entries_info @proposals %> - <% if !@advanced_search_terms %> - <%= t("proposals.index.search_results_html", count: @proposals.size, search_term: @search_terms) %> - <% end %> -

- <% elsif @tag_filter %> -

<%= t("shared.search_results") %>

-

- <%= page_entries_info @proposals %> - <%= t("proposals.index.filter_topic", count: @proposals.size, topic: @tag_filter) %> -

- <% elsif params[:retired].present? %> -

<%= t("proposals.index.retired_proposals") %>

- <% end %> -
-
-
- <% else %> - <%= render "shared/section_header", i18n_namespace: "proposals.index.section_header", image: "proposals" %> - <% end %> - -
-
- - <% if has_banners? %> - <%= render "shared/banner" %> - <% end %> - - <% if @featured_proposals.present? %> - - <% end %> - - <%= render("shared/advanced_search", search_path: proposals_path(page: 1)) unless params[:retired].present? %> - - <%= render 'shared/order_links', i18n_namespace: "proposals.index" %> - - <% if @proposals.any? %> -
- <%= link_to t("proposals.index.start_proposal"), new_proposal_path, class: 'button expanded' %> -
- <% end %> - -
- <%= render partial: 'proposals/proposal', collection: @proposals %> - <%= paginate @proposals %> - - <% unless @search_terms || @advanced_search_terms || @tag_filter %> -
-

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

-

<%= t("proposals.index.section_footer.help_text_1") %>

-

<%= t("proposals.index.section_footer.help_text_2", - org: link_to(setting['org_name'], new_user_registration_path)).html_safe %>

-

<%= t("proposals.index.section_footer.help_text_3") %>

-
- <% end %> -
-
- -
- -
- -
-