-
<%= form_tag("bikes/search", method: "get", class: "form-inline") do %>
<%= label_tag(:log_number, "Search for a bike by log number:") %>
<%= text_field_tag :log_number, "", class: "form-control" %>
<%= submit_tag("Search", class: "btn btn-default") %>
<% end %>
-
<%= if current_user
link_to "Sign Out", destroy_user_session_path, method: :delete
else
link_to "Sign In", new_user_session_path
end %>