Browse Source

lk | fixes bike search bar

master
Louis Knapp 9 years ago
parent
commit
11adf93ccd
  1. 2
      app/views/layouts/_navbar.html.erb

2
app/views/layouts/_navbar.html.erb

@ -12,7 +12,7 @@
<div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'> <div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class="bike-search"> <li class="bike-search">
<%= form_tag("bikes/search", method: "get", class: "form-inline") do %> <%= form_tag(search_bikes_path, method: "get", class: "form-inline") do %>
<%= label_tag(:log_number, "Search for a bike by log number:") %> <%= label_tag(:log_number, "Search for a bike by log number:") %>
<%= text_field_tag :log_number, "", class: "form-control" %> <%= text_field_tag :log_number, "", class: "form-control" %>
<%= submit_tag("Search", class: "btn btn-default") %> <%= submit_tag("Search", class: "btn btn-default") %>

Loading…
Cancel
Save