Merge pull request #516 from pdekraker-epa/master

Add CSRF Protection Support
This commit is contained in:
Adrià Mercader 2022-12-07 14:31:05 +01:00 committed by GitHub
commit 2e5ac42f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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