{% set input_attrs = input.props %} {% if input.type not in ('hidden','divider','section','html') %} {{ input.label }} {% endif %} {% if input.required %} {{input.label or 'This field'}} is required {% endif %}