mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
lk | renders date sold with consistent formatting
This commit is contained in:
@@ -86,5 +86,5 @@
|
||||
.form-group
|
||||
= f.label "Date Sold:", class: "col-sm-4 control-label"
|
||||
.col-sm-6
|
||||
= f.text_field :date_sold, class: "form-control datepicker", disabled: disabled
|
||||
= f.text_field :date_sold, :value => @bike.date_sold ? @bike.date_sold.strftime("%m/%d/%Y") : "", class: "form-control datepicker", disabled: disabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user