fix search form

This commit is contained in:
Andreas Stephanides
2014-10-27 14:49:48 +01:00
parent 378f6c4894
commit 9c5063b047

View File

@@ -1,6 +1,6 @@
<div class="content-wrap content-column">
<p>
<%= semantic_form_for :search,:remote=>true, :url=>search_home_index_path, :html=>{:id=>"search_form",:class=>"navbar-search", :method=>'get'} do |f| %>
<div>
<%= semantic_form_for :search,:remote=>true, :url=>search_home_index_path, :html=>{:id=>"search_form",:class=>"", :method=>'get'} do |f| %>
<%= f.input :query, :input_html => { :name => 'query' } , :label=>false, :class=>"search-query" %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
@@ -8,13 +8,10 @@
<% end %>
</p>
<p>
</div>
<div id="searchresults">
<%= render :partial=>"home/search_results" %>
</div>
</p>
</div>