templates/web/customer/form_field/input.twig line 1

Open in your IDE?
  1. {##
  2.  # ____file_title____
  3.  #}
  4. {% set fieldLabel = this.getFieldLabel() %}
  5. <span class="input-field-wrapper {{ this.getWrapperClass() }}">
  6.   {{ this.displayCommentedData(this.getCommentedData()) }}
  7.   {% if fieldLabel %}
  8.     <label>
  9.       <input{{ this.getAttributesCode()|raw }} />
  10.       <span{% if this.isFieldLabelHidden() %} class="visually-hidden"{% endif %}>{{ fieldLabel }}</span>
  11.     </label>
  12.   {% else %}
  13.     <input{{ this.getAttributesCode()|raw }} />
  14.   {% endif %}
  15. </span>