
{% call widget.panel(_("Change Email")) %}

    {% call forms.post(request.endpoint) %}
        {{ forms.input(label="New Email", name="email", type="email" ,
            value=user_login.email,
            data={"validation": "email"}) }}

        {{ forms.input(label="Confirm your change by entering your current password",
            name="confirm-password", type="password",
            data={"validation": "required"}) }}

        {{ forms.button('Save Login Email', type='submit', class='btn-info') }}
    {% endcall %}

{% endcall %}