Browse Source

lk | adds bike type: kids

master
Louis Knapp 9 years ago
parent
commit
3376fbf342
  1. 2
      app/views/bikes/_fields.html.haml
  2. 2
      app/views/clients/_fields.html.haml

2
app/views/bikes/_fields.html.haml

@ -23,7 +23,7 @@
.form-group .form-group
= f.label "Type:", class: "col-sm-4 control-label" = f.label "Type:", class: "col-sm-4 control-label"
.col-sm-6 .col-sm-6
= f.select :bike_type, [["BMX", "BMX"], ["Cruiser", "Cruiser"], ["Hybrid", "Hybrid"], ["Mountain", "Mountain"], ["Road", "Road"], ["Touring", "Touring"], ["Track", "Track"], ["Utility", "Utility"], ["Youth", "Youth"]], {}, class: "selectpicker", disabled: disabled = f.select :bike_type, [["BMX", "BMX"], ["Cruiser", "Cruiser"], ["Hybrid", "Hybrid"], ["Kids", "Kids"], ["Mountain", "Mountain"], ["Road", "Road"], ["Touring", "Touring"], ["Track", "Track"], ["Utility", "Utility"], ["Youth", "Youth"]], {}, class: "selectpicker", disabled: disabled
.form-group .form-group
= f.label "Color:", class: "col-sm-4 control-label" = f.label "Color:", class: "col-sm-4 control-label"

2
app/views/clients/_fields.html.haml

@ -28,7 +28,7 @@
.form-group .form-group
= f.label "Type of Bike Requested:", class: "col-sm-2 control-label" = f.label "Type of Bike Requested:", class: "col-sm-2 control-label"
.col-sm-10 .col-sm-10
= f.select :bike_type_requested, [["No Preference", "No Preference"], ["BMX", "BMX"], ["Comfort", "Comfort"], ["Cruiser", "Cruiser"], ["Hybrid", "Hybrid"], ["Mountain", "Mountain"], ["Road", "Road"], ["Touring", "Touring"], ["Track", "Track"], ["Utility", "Utility"], ["Youth", "Youth"]], {}, class: "selectpicker", disabled: disabled = f.select :bike_type_requested, [["BMX", "BMX"], ["Cruiser", "Cruiser"], ["Hybrid", "Hybrid"], ["Kids", "Kids"], ["Mountain", "Mountain"], ["Road", "Road"], ["Touring", "Touring"], ["Track", "Track"], ["Utility", "Utility"], ["Youth", "Youth"]], {}, class: "selectpicker", disabled: disabled
.form-group .form-group
= f.label "Will Pay 25$ for Lock & Helmet:", class: "col-sm-2 control-label" = f.label "Will Pay 25$ for Lock & Helmet:", class: "col-sm-2 control-label"

Loading…
Cancel
Save