removes duplicate search form partial

This commit is contained in:
rgarcia
2016-01-13 15:08:08 +01:00
parent 33cfd92b09
commit 9ff3b1dd2f
4 changed files with 17 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
<% provide :title do %><%= t('debates.index.title') %><% end %>
<% content_for :header_addon do %>
<%= render "shared/search_form_header",
<%= render "shared/search_form",
search_path: debates_path(page: 1),
i18n_namespace: "debates.index.search_form" %>
<% end %>