File: change_email.html

package info (click to toggle)
flask-security 5.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 3,448 kB
  • sloc: python: 23,247; javascript: 204; makefile: 138
file content (16 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% set title = title|default(_fsdomain('Change Email')) %}
{% extends "security/base.html" %}
{% from "security/_macros.html" import render_field_with_errors, render_field, render_field_errors, render_form_errors %}

{% block content %}
  {% include "security/_messages.html" %}
  <h1>{{ _fsdomain('Change Email') }}</h1>
  <h3>{{ _fsdomain('Once submitted, an email confirmation will be sent to this new email address.') }}</h3>
  <form action="{{ url_for_security('change_email') }}" method="post" name="change_email_form">
    {{ change_email_form.hidden_tag() }}
    {{ render_form_errors(change_email_form) }}
    {{ render_field_with_errors(change_email_form.email) }}
    {{ render_field_errors(change_email_form.csrf_token) }}
    {{ render_field(change_email_form.submit) }}
  </form>
{% endblock content %}