lk | adds search bar to header

This commit is contained in:
Louis Knapp
2015-09-29 20:11:01 -05:00
parent d52e14ce01
commit 961d47f7ff
5 changed files with 48 additions and 41 deletions
-4
View File
@@ -2,10 +2,6 @@
%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