{% extends "base.html" %} {% load i18n extra_filters %} {% load crispy_forms_tags %} {% block content %}
{% trans 'This data can be added to any field, title or body' %} :
{% verbatim %}{{ newuser.username }}{% endverbatim %} : {% trans 'Return the username of the new user' %}
{% verbatim %}{{ newuser.first_name }}{% endverbatim %} : {% trans 'Return the first name of the new user' %}
{% verbatim %}{{ newuser.last_name }}{% endverbatim %} : {% trans 'Return the last name of the new user' %}
{% verbatim %}{{ newuser.email }}{% endverbatim %} : {% trans 'Return the email of the new user (where this email is sent)' %}
{% trans 'You can add commands to format the text returned by the above vars' %} :
|title : {% trans 'Capitalize the first letter, for example' %} {% verbatim %}{{ newuser.last_name|title }}{% endverbatim %} {% trans 'return' %} {{ user.last_name|title }} {% trans 'for you' %}
|upper : {% trans 'Capitalize all, for example' %} {% verbatim %}{{ newuser.last_name|upper }}{% endverbatim %} {% trans 'return' %} {{ user.last_name|upper }} {% trans 'for you' %}