declare form.media in authentic2/accounts_edit.html (fixes #20600)

Without it using for example a date field will not use the Bootstrap datetimepicker
widget on the self edit view.
This commit is contained in:
Benjamin Dauvergne 2017-12-11 15:03:35 +01:00
parent 7c2b5f3fcb
commit 5c8eb8b6c3
1 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,16 @@
{% extends "authentic2/base-page.html" %}
{% load i18n %}
{% block css %}
{{ block.super }}
{{ form.media.css }}
{% endblock %}
{% block extra_scripts %}
{{ block.super }}
{{ form.media.js }}
{% endblock %}
{% block page-title %}
{{ block.super }} - {% trans "Edit account data" %}
{% endblock %}