[#219] Don't use c.form to render the form

This commit is contained in:
amercader 2016-01-14 10:16:45 +00:00
parent 497dfeea02
commit 1665e86065
2 changed files with 6 additions and 2 deletions

View File

@ -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 %}

View File

@ -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 %}