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:
parent
7c2b5f3fcb
commit
5c8eb8b6c3
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue