lk | update bike & report to use fixed_at instead of entry_date

This commit is contained in:
Louis Knapp
2016-07-17 12:35:13 -05:00
parent 898337a07e
commit 8a46a95678
4 changed files with 37 additions and 35 deletions
+2 -2
View File
@@ -52,9 +52,9 @@
= f.text_field :serial_number, class: "form-control", disabled: disabled
.form-group
= f.label "Date Finished:", class: "col-sm-4 control-label"
= f.label "Date Fixed:", class: "col-sm-4 control-label"
.col-sm-6
= f.text_field :entry_date, class: "form-control datepicker", disabled: disabled
= f.text_field :fixed_at, class: "form-control datepicker", :value => @bike.fixed_at ? @bike.fixed_at.strftime("%m/%d/%Y") : "", disabled: disabled
.row
.col-sm-6