Skip to content

Instantly share code, notes, and snippets.

@ogredude
Created March 13, 2013 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ogredude/5155604 to your computer and use it in GitHub Desktop.
Save ogredude/5155604 to your computer and use it in GitHub Desktop.
<%= form_tag offers_path, :method => :get, :class => "form-inline form-search" do %>
<fieldset>
<legend>Search Options</legend>
<label class="control-label" for="trip_type">Trip type: </label>
<select name="trip_type" class="input-small">
<option value="">Any</option>
<option value="single">Single</option>
<option value="multiple">Multiple</option>
</select>
<label class="control-label" for="nearby_radius">Within </label>
<select name="nearby_radius">
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
<label class="control-label" for="nearby_location">miles of</label>
<input type="text" placeholder="zipcode or address" name="nearby_location" class="input-medium search-query">
<button type="button" class="btn btn-primary">Search</button>
</fieldset>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment