Browse Source

lk | old bikes with non-standard types no longer appear as bmx's

master
Louis Knapp 9 years ago
parent
commit
071734cac5
  1. 2
      app/views/bikes/_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, Bike.bike_types, {}, class: "selectpicker", disabled: disabled = f.select :bike_type, options_for_select( Bike.bike_types + [[@bike.bike_type, @bike.bike_type]], @bike.bike_type), {}, 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"

Loading…
Cancel
Save