lk | changes type of date stored for client pickup

This commit is contained in:
Louis Knapp
2015-12-29 20:19:25 -06:00
parent 3852c85432
commit a8c8f4b3d8
5 changed files with 31 additions and 6 deletions
+1 -1
View File
@@ -91,7 +91,7 @@
.form-group
= f.label "Bike Picked Up On:", class: "col-sm-2 control-label"
.col-sm-10
= f.text_field :pickup_date, class: "form-control datepicker", disabled: disabled
= f.text_field :pickup_date, value: @client.pickup_date && @client.pickup_date.strftime('%m/%d/%Y'), class: "form-control datepicker", disabled: disabled
.form-group
= f.label "Volunteer Present at Pickup:", class: "col-sm-2 control-label"