class="form-left">
        <div class="form-group {% if form.username.errors %}has-error{% endif %}">
          <label for="id_username">Username*</label>
          <input type="text" name="username" id="id_username"
                 class="form-control {% if form.username.errors %}is-invalid{% endif %}"
                 required
                 value="{{ form.username.value|default_if_none:'' }}">
          {% if form.username.errors %}
            <div class="invalid-feedback">
              {% for error