Merge pull request #516 from pdekraker-epa/master
Add CSRF Protection Support
This commit is contained in:
commit
2e5ac42f3b
|
@ -14,6 +14,8 @@
|
|||
</span>
|
||||
{% endcall %}
|
||||
|
||||
{{ h.csrf_input() if 'csrf_input' in h }}
|
||||
|
||||
{{ form.input('title', id='field-title', label=_('Title'), placeholder=_('eg. A descriptive title'), value=data.title, error=errors.title, classes=['control-full'], attrs={'data-module': 'slug-preview-target'}) }}
|
||||
|
||||
{% set prefix = 'harvest' %}
|
||||
|
|
Loading…
Reference in New Issue