2024-04-12 19:22:00 +00:00
|
|
|
<form enctype="multipart/form-data"
|
2024-04-12 19:22:00 +00:00
|
|
|
{% if content.id %}
|
|
|
|
id="{{ content.id }}"
|
|
|
|
{% endif %}
|
|
|
|
class="{{ content.css_classes }}"
|
|
|
|
{% if content.action %}
|
|
|
|
action="{{ content.action }}"
|
|
|
|
{% endif %}
|
|
|
|
method="{{ content.method }}"
|
|
|
|
>
|
|
|
|
|
2024-04-12 19:22:00 +00:00
|
|
|
{% block intro %}
|
|
|
|
{% if content.intro %}
|
|
|
|
<div class="intro">
|
|
|
|
{{ content.intro }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2024-04-12 19:22:00 +00:00
|
|
|
|
|
|
|
{% block fields %}
|
2024-06-29 03:36:26 +00:00
|
|
|
{% if content.fields_pending_render|length %}
|
|
|
|
<div class="fields">
|
|
|
|
{% for field in content.fields_pending_render %}
|
|
|
|
{{ field.render() }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-04-12 19:22:00 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block buttons %}
|
2024-06-29 03:36:26 +00:00
|
|
|
{% if content.buttons_pending_render|length %}
|
|
|
|
<div class="buttons">
|
|
|
|
{% for button in content.buttons_pending_render %}
|
|
|
|
{{ button.render() }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2024-04-12 19:22:00 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
</form>
|