{% extends 'base.html' %} {% block content %}
{{ form.csrf_token }} {{ form.username(value=current_user.name) }}
{{ form.current.label(class_="form-label") }} {% if form.current.errors %} {{ form.current(class_="form-control is-invalid") }} {% else %} {{ form.current(class_="form-control") }} {% endif %}
{% for error in form.current.errors %} {{ error }} {% endfor %}
{{ form.password.label(class_="form-label") }} {{ form.password(class_="form-control", onchange="checkSame()") }}
new password must be at least 8 chars
{{ form.again.label(class_="form-label") }} {{ form.again(class_="form-control", onchange="checkSame()") }}
passwords must match
{% endblock %}