webseite-grav/plugins/form/templates/forms/fields/uniqueid/uniqueid.html.twig

5 lines
172 B
Twig
Raw Normal View History

2021-04-30 11:23:26 +02:00
{% extends "forms/field.html.twig" %}
{% block field %}
<input type="hidden" name="__unique_form_id__" value="{{ form.uniqueid() ?? random_string(20) }}" />
{% endblock %}