rd2.errors %}has-error{% endif %}">
          <label for="id_password2">Password confirmation*</label>
          <input type="password" name="password2" id="id_password2"
                 class="form-control {% if form.password2.errors %}is-invalid{% endif %}"
                 required>
          {% if form.password2.errors %}
            <div class="invalid-feedback">
              {% for error in form.password2.errors %}
                {{ error }}
              {% endfor %}
            </div>
          {