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

5 lines
172 B
Twig
Raw Normal View History

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