kopia lustrzana https://github.com/wagtail/wagtail
add form media to user add/edit forms (#5146)
rodzic
b2c8be0207
commit
ef7bd7989e
|
@ -35,6 +35,7 @@ Changelog
|
|||
* Fix: Don't show page type on page chooser button when multiple types are allowed (Thijs Kramer)
|
||||
* Fix: Make sure page chooser search results correspond to the latest search by canceling previous requests (Esper Kuijs)
|
||||
* Fix: Inform user when moving a page from one parent to another where there is an already existing page with the same slug (Casper Timmers)
|
||||
* Fix: User add/edit forms now support form widgets with JS/CSS media (Damian Grinwis)
|
||||
|
||||
|
||||
2.4 (19.12.2018)
|
||||
|
|
|
@ -354,6 +354,7 @@ Contributors
|
|||
* Thomas Kremmel
|
||||
* patta42
|
||||
* Esper Kuijs
|
||||
* Damian Grinwis
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -50,6 +50,7 @@ Bug fixes
|
|||
* Page copying no longer allowed if page model has reached its ``max_count`` (Andy Babic)
|
||||
* Don't show page type on page chooser button when multiple types are allowed (Thijs Kramer)
|
||||
* Make sure page chooser search results correspond to the latest search by canceling previous requests (Esper Kuijs)
|
||||
* User add/edit forms now support form widgets with JS/CSS media (Damian Grinwis)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -46,3 +46,14 @@
|
|||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
{{ block.super }}
|
||||
{% include "wagtailadmin/pages/_editor_css.html" %}
|
||||
{{ form.media.css }}
|
||||
{% endblock %}
|
||||
{% block extra_js %}
|
||||
{{ block.super }}
|
||||
{% include "wagtailadmin/pages/_editor_js.html" %}
|
||||
{{ form.media.js }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -63,3 +63,12 @@
|
|||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
{{ block.super }}
|
||||
{% include "wagtailadmin/pages/_editor_css.html" %}
|
||||
{% endblock %}
|
||||
{% block extra_js %}
|
||||
{{ block.super }}
|
||||
{% include "wagtailadmin/pages/_editor_js.html" %}
|
||||
{% endblock %}
|
||||
|
|
Ładowanie…
Reference in New Issue