WIP: need to proxy the DT values

This commit is contained in:
Matthew Ryan Dillon 2018-03-05 06:13:51 -07:00
parent 2ead72c552
commit a1c835caed
5 changed files with 276 additions and 14 deletions

View file

@ -83,7 +83,13 @@
{{/validated-field}}
{{#validated-field property='collectionStartTime' label='Collection start time' changeset=changeset}}
{{input value=changeset.collectionStartTime type='time' class='form-control'}}
{{bs-datetimepicker
date=changeset.collectionStartTime
updateDate=(action (mut changeset.collectionStartTime))
placeholder='HH:mm a'
format='HH:mm a'
class='form-control'
}}
{{/validated-field}}
{{#validated-field property='collectionEndDate' label='Collection end date' changeset=changeset}}
@ -91,7 +97,12 @@
{{/validated-field}}
{{#validated-field property='collectionEndTime' label='Collection end time' changeset=changeset}}
{{input value=changeset.collectionEndTime type='time' class='form-control'}}
{{bs-datetimepicker
date=changeset.collectionEndTime
updateDate=(action (mut changeset.collectionEndTime))
format='LT'
class='form-control'
}}
{{/validated-field}}
{{/with}}
{{/f.content}}