Source

django-formrenderingtools / demo / demoproject / demoapp / templates / form_layouts / two_custom_fields / label / message.html

Full commit
<label for="{{ field_id }}" class="{% if field.field.required %} required{% endif %}">Your message</label>