summaryrefslogtreecommitdiffstats
path: root/templates/_formhelpers.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_formhelpers.html')
-rw-r--r--templates/_formhelpers.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_formhelpers.html b/templates/_formhelpers.html
index e50f482..f0fe7fe 100644
--- a/templates/_formhelpers.html
+++ b/templates/_formhelpers.html
@@ -1,5 +1,5 @@
{% macro render_field(field) %}
- {% if field.type == 'HiddenField' %}
+ {% if field.type in ['HiddenField', 'CSRFTokenField'] %}
{{ field()|safe }}
{% else %}
<div class="form-group {% if field.errors %}has-error{% endif %}">