Replace all datepickers with date input

Nowadays all browsers have reasonable date input support...
This commit is contained in:
Henne Vogelsang 2024-06-06 22:11:59 +02:00
parent 07bfff8fa1
commit 30fdc2d796
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
6 changed files with 26 additions and 39 deletions

View file

@ -86,10 +86,10 @@
.kinds.text{ class: @survey_question.text? ? '' : 'hidden' }
%textarea.form-control{ rows: 4 }
.kinds.datetime{ class: @survey_question.datetime? ? '' : 'hidden' }
.form-group{ class: 'datetimepicker' }
.form-group
.input-group
.input-group-addon
%span.fa-solid.fa-calendar
%input.form-control{ readonly: 'readonly' }
%input.form-control{ type: 'datetime-local', readonly: 'readonly' }
.kinds.numeric{ class: @survey_question.numeric? ? '' : 'hidden' }
%input.form-control{ type: 'number' }