rm.email.errors %}is-invalid{% endif %}"
                 value="{{ form.email.value|default_if_none:'' }}">
          {% if form.email.errors %}
            <div class="invalid-feedback">
              {% for error in form.email.errors %}
                {{ error }}
              {% endfor %}
            </div>
          {% endif %}
        </div>

        <div class="form-group {% if form.password1.errors %}has-error{% endif %}">
          <label for="id_password1">Password*</label>
          <input type=