mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Remove failing autogenerated tests, fix bug where bike type wasn't saving
This commit is contained in:
@@ -43,7 +43,15 @@
|
||||
= f.label "Agency", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.text_field :agency, class: "form-control", disabled: disabled
|
||||
|
||||
.form-group
|
||||
= f.label "Completion Date:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.text_field :completion_date, class: "form-control datepicker", disabled: disabled
|
||||
|
||||
.form-group
|
||||
= f.label "Type:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.select(:bike_id, Bike.all.collect {|b| [ b.model, b.id ] }, {include_blank: 'None'})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user