[#219] Don't use c.form to render the form
This commit is contained in:
parent
497dfeea02
commit
1665e86065
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
{% block primary_content_inner %}
|
{% block primary_content_inner %}
|
||||||
<div class="module-content">
|
<div class="module-content">
|
||||||
{% block form %}{{ c.form | safe }}{% endblock %}
|
{% block form %}
|
||||||
|
{{- h.snippet(form_snippet, c=c, **form_vars) -}}
|
||||||
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
{% block primary_content %}
|
{% block primary_content %}
|
||||||
<section class="module">
|
<section class="module">
|
||||||
<div class="module-content">
|
<div class="module-content">
|
||||||
{% block form %}{{ c.form | safe }}{% endblock %}
|
{% block form %}
|
||||||
|
{{- h.snippet(form_snippet, c=c, **form_vars) -}}
|
||||||
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue