{% with classes=field.css_classes label=label|defaultlabel:field.label help_text=help_text|default:field.help_text %}
{% include "otree/forms/errors.html" with errors=field.errors %}
{% if field.help_text %}
{{ field.help_text }}
{% endif %}
{% for field in hidden_fields %}{{ field.as_hidden }}{% endfor %}
{% endwith %}