[#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 %}
|
||||
<div class="module-content">
|
||||
{% block form %}{{ c.form | safe }}{% endblock %}
|
||||
{% block form %}
|
||||
{{- h.snippet(form_snippet, c=c, **form_vars) -}}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
{% block primary_content %}
|
||||
<section class="module">
|
||||
<div class="module-content">
|
||||
{% block form %}{{ c.form | safe }}{% endblock %}
|
||||
{% block form %}
|
||||
{{- h.snippet(form_snippet, c=c, **form_vars) -}}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue