Refactors search form
It only appears when the page asks for it. Also, the i18n namespace and the path used for the form are parameters now
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
<% content_for :header_addon do %>
|
||||
<%= render "shared/search_form_header",
|
||||
search_path: debates_path(page: 1),
|
||||
i18n_namespace: "debates.index.search_form" %>
|
||||
<% end %>
|
||||
|
||||
<section role="main">
|
||||
|
||||
<div class="wrap row">
|
||||
|
||||
Reference in New Issue
Block a user