lk | add ability to search by bike log #

This commit is contained in:
Louis Knapp
2015-09-21 19:35:11 -05:00
parent 7fa84acfd1
commit bc3b5f8a1a
3 changed files with 15 additions and 0 deletions
+4
View File
@@ -2,6 +2,10 @@
%h1 Bike & Client Tracker
%br
%h2 Bikes
= form_tag("bikes/search", method: "get", class: "form-inline") do
= label_tag(:log_number, "Search by log number:")
= text_field_tag :log_number, "", class: "form-control"
= submit_tag("Search", class: "btn btn-default")
%br
= link_to "Log Bikes", new_bike_path
%br