{% import 'macros/form.html' as f with context %} {% if request.endpoint.endswith('new') %} {% set endpoint = 'admin.users_new' %} {% set form_kwargs = {} %} {% set legend = 'Add a new user' %} {% set button = 'Add' %} {% else %} {% set endpoint = 'admin.users_edit' %} {% set form_kwargs = {'id': user.id} %} {% set legend = 'Update this user' %} {% set button = 'Save' %} {% endif %}
{{ user.email }}
{% if user.last_bet_on %} {% else %} N/A {% endif %}
This user is not subscribed. {% if user.invoices %} ( View billing details ) {% endif %}
{% endif %} {% endif %}