Untitled
public text v1 · immutable{% block field_label %}
{% if required %}
{% if attr.class is defined %}
{% set attr = attr|merge({"class": attr.class ~ " required"}) %}
{% else %}
{% set attr = attr|merge({"class": "required"}) %}
{% endif %}
{% endif %}
<label for="{{id}}"{% for v in attr %} {{loop.index}}="{{v}}"{% endfor %}>{{label|trans}}{% if required%} (*){% endif %}</label>
{% endblock %}