templates: divide formdata_filling in django blocks (#32864)
This commit is contained in:
parent
93ffe3f9dc
commit
6a1428b92c
|
@ -2,9 +2,13 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
{% block form-side %}
|
||||
{{ form_side|default:"" }}
|
||||
{{ publisher.get_request.session.display_message|safe }}
|
||||
{% endblock %}
|
||||
|
||||
{% block form-main %}
|
||||
{% block drafts-recall %}
|
||||
{% if view.initial_hit and user.is_authenticated and not request.quixote_request.is_in_backoffice %}
|
||||
{% with formdef.objects.current_user.drafts as drafts %}
|
||||
|
@ -33,6 +37,7 @@
|
|||
{% endwith %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{{ form.render|safe }}
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue