Add form nonce to custom form code

This commit is contained in:
Flavio Copes 2015-12-18 10:56:34 +01:00
parent 2e1769935c
commit 483bfe3e55
1 changed files with 3 additions and 0 deletions

View File

@ -15,4 +15,7 @@
<button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
{% endfor %}
</div>
{{ nonce_field('form', 'form-nonce') }}
</form>