diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_formhelpers.html | 2 |
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 %}"> |