Properly bootstrap-style media grid for thumbnails
This commit is contained in:
parent
6aef2a7da5
commit
b703efe785
3 changed files with 47 additions and 11 deletions
|
|
@ -1,11 +1,9 @@
|
|||
<h1>Hello, Rails!</h1>
|
||||
|
||||
<h1>Search for a package/description:</h1>
|
||||
|
||||
<%= form_tag(url_for, method: "get") do %>
|
||||
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...' %>
|
||||
|
|
||||
With screenshots? <%= check_box_tag 'with_screenshots', 'yes', true %>
|
||||
With screenshots? <%= check_box_tag 'with_screenshots', 'yes', params[:with_screenshots] %>
|
||||
|
|
||||
<%= submit_tag "Search" %>
|
||||
<% end %>
|
||||
|
|
@ -14,7 +12,7 @@
|
|||
|
||||
<h1>Search results</h1>
|
||||
|
||||
<div class="row-fluid">
|
||||
<!--<div class="row-fluid">-->
|
||||
<%= render "packages_search_results", object: @packages %>
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue