{% extends 'base.html' %} {% load custom_tags_and_filters %} {% block title %}Preferences{% endblock %} {% block content %}

User Preferences

{% csrf_token %}

Reservations

Buddy System

{% if not form.fields.staff_status_view.disabled %}

Staff status

{% if not user_view %} {% endif %}
{% endif %}

Email notifications

The following is a list of notifications you will receive from {{ site_title }}. You have the option to set an alternate email address and define your preferences for which notifications you want to be sent to either of your emails, or both.

Some notifications can also be turned off completely.


{% if form.email_alternate.errors %}
{{ form.email_alternate.errors|striptags }}
{% endif %}
{% for field_name, field in form.fields.items %} {% if field|class_name == "TypedChoiceField" and field_name != "staff_status_view" and field_name != "email_send_recurring_charges_reminder_emails" %} {% with data=form.data|get_item:field_name initial=form.initial|get_item:field_name %}
{% for choice in field.choices %} {% endfor %}
{% endwith %} {% endif %} {% endfor %}
{% if form.recurring_charges_reminder_days.errors %}
{{ form.recurring_charges_reminder_days.errors|striptags }}
{% else %}
Set the number of days to receive a reminder prior to {{ recurring_charges_name|lower }} being charged. A comma-separated list can be used.
{% endif %}
{% for choice in form.fields.email_send_recurring_charges_reminder_emails.choices %} {% endfor %}
{% button type="save" value="Update preferences" %}
{% endblock %}