{% extends "base.html" %} {% import "_fields.html" as fm %} {% block main %} {% include "_person_head.html" %}

{{ heading }}

Type or paste the two lines at the bottom of the photo page and press Read to fill in the fields below.

{{ fm.area("mrz", "Machine-readable zone, two lines of 44 characters", pf.mrz, err=errors.mrz, rows=2, cls="mrz") }}
{% if mrz_note %}

{{ mrz_note }}

{% endif %}
{% if name_hint %}

{{ name_hint }}

{% endif %}

Passport

{{ fm.text("number", "Passport number", pf.number, err=errors.number, req=true) }} {{ fm.select("issuing_country", "Issued by", pf.issuing_country, countries, err=errors.issuing_country, blank="Choose a country") }} {{ fm.text("issued_on", "Date of issue", pf.issued_on, err=errors.issued_on, type="date") }} {{ fm.text("expires_on", "Date of expiry", pf.expires_on, err=errors.expires_on, type="date", req=true) }} {{ fm.text("issued_at", "Authority or place of issue", pf.issued_at, err=errors.issued_at, hint="As printed in the passport.", cls="wide") }}
Cancel
{% if mode == "edit" %}
For a passport entered by mistake. An expired passport stays on the record as a previous one.
{% endif %} {% endblock %}