diff --git a/js/components/date_selector.js b/js/components/date_selector.js index cdda5276..311d5514 100644 --- a/js/components/date_selector.js +++ b/js/components/date_selector.js @@ -28,7 +28,6 @@ export default { type: Boolean, default: true, }, - insetForm: Boolean, }, data: function() { @@ -37,7 +36,7 @@ export default { month: this.initialmonth, year: this.initialyear, name: this.nameTag, - showValidation: !this.insetForm, + showValidation: false, } }, diff --git a/templates/components/date_picker.html b/templates/components/date_picker.html index b6e97e08..2774aec5 100644 --- a/templates/components/date_picker.html +++ b/templates/components/date_picker.html @@ -7,8 +7,7 @@ mindate=None, maxdate=None, watch=False, - optional=True, - inset_form=False) -%} + optional=True) -%}
diff --git a/templates/fragments/edit_user_form.html b/templates/fragments/edit_user_form.html index f73284fd..56f61b80 100644 --- a/templates/fragments/edit_user_form.html +++ b/templates/fragments/edit_user_form.html @@ -28,7 +28,7 @@
- {{ DatePicker(form.date_latest_training, mindate=mindate, maxdate=maxdate, inset_form=True) }} + {{ DatePicker(form.date_latest_training, mindate=mindate, maxdate=maxdate) }}