{% if thisfield.label.text %} <label class="control-label{{' required' if thisfield.flags.required}}{{ ' error' if thisfield.errors }}" for="{{thisfield.label.field_id}}"> {%- if thisfield.icon %} <span class="" style="margin-right: 5px; margin-top: 5px;"><i class={{ thisfield.icon}}></i></span> {%- endif %} {{ thisfield.label.text }} </label> {% endif %}