{% load i18n form_tags thumbnail core_tags %}

{% trans 'Personal data' %}

{% csrf_token %}
{{object|model_verbose_name:'photo'}}
{% thumbnail object.photo "90x90" crop="center" as im %} {{object.name}} {% endthumbnail %}
{% trans 'Please enter the correct information in the "Notification email address" and/or "Notification mobile number" fields, if you do not wish to be notified to the predefined email address and/or mobile number.' %}
{% if form.instance.pending_email %}
{% blocktrans with email=form.instance.pending_email %}The email {{email}} is pending of verification!{% endblocktrans %} {% if request.user.is_allowed_to_resend %} {% blocktrans with url=resend_url %}To resend the verification email please click here.{% endblocktrans %} {% endif %}
{% endif %}
{{object.name}}
{{object.email}}
{{object.primary_phone}}

{{ form.notice_method.label_tag }}
{% prepare_field form.notice_method %}
{{ form.notice_email.label_tag }}
{% prepare_field form.notice_email %}
{{ form.notice_phone.label_tag }}
{% prepare_field form.notice_phone %}