wiki-grav/plugins/form/templates/forms/fields/uniqueid/uniqueid.html.twig
2022-04-24 14:32:58 +02:00

5 lines
172 B
Twig

{% extends "forms/field.html.twig" %}
{% block field %}
<input type="hidden" name="__unique_form_id__" value="{{ form.uniqueid() ?? random_string(20) }}" />
{% endblock %}