Revert "Trying to implement AJAX-based endless-page pagination"

This reverts commit 732af154ad.
This commit is contained in:
Christoph Haas 2013-08-10 14:46:37 +02:00
parent 732af154ad
commit c7c7640619
3 changed files with 8 additions and 21 deletions

View file

@ -1,6 +1,6 @@
<h1>Search for a package/description:</h1>
<%= form_tag(url_for, method: "get", :remote => true, id: "form-search", class: "form-search") do %>
<%= form_tag(url_for, method: "get", class: "form-search") do %>
<div class="input-append">
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...', class: "search-query" %>
<button class="btn" type="submit">Search!</button>
@ -18,5 +18,7 @@
<h1>Search results</h1>
<%= render "packages_search_results", object: @packages %>
<!--<div class="row-fluid">-->
<%= render "packages_search_results", object: @packages %>
<!--</div>-->
</div>