{% set input_attrs = input.props %} {% if input.show_label and input.type != 'hidden' %} {{ input.label }} {% endif %} {% if input.required %} {{input.label or 'This field'}} is required {% endif %}