%= form_for(@bike) do |f| %>
<% if @bike.errors.any? %>
<%= pluralize(@bike.errors.count, "error") %> prohibited this bike from being saved:
<% @bike.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label "Bike Entry Date:" %>
<%= f.text_field :entry_date %>
<%= f.label "Brand:" %>
<%= f.text_field :brand %>
<%= f.label "Type:" %>
<%= f.text_field :bike_type %>
<%= f.label "Freecyclery?" %>
<%= f.check_box :freecyclery %>
<%= f.label "Sale?" %>
<%= f.check_box :sale %>
<%= f.label "Serial Number" %>
<%= f.text_field :serial_number %>
<%= f.label "Notes" %>
<%= f.text_area :notes %>
<%= f.label "Tag Info" %>
<%= f.text_area :tag_info %>
<%= f.label "Repaired by:" %>
<%= f.text_field :repaired_by %>
<%= f.label "Completion Date:" %>
<%= f.text_field :completion_date %>
<%= f.label "Price" %>
<%= f.text_field :price %>
<%= f.submit %>
<% end %>