{% extends "core/base.jinja" %} {%- block additional_css -%} {%- endblock -%} {% block title %} {% trans %}Preferences{% endtrans %} {% endblock %} {% block content %}

{% trans %}Preferences{% endtrans %}

{% trans %}General{% endtrans %}

{% csrf_token %} {{ form.as_p() }}

{% trans %}Trombi{% endtrans %}

{% if trombi_form %}
{% csrf_token %} {{ trombi_form.as_p() }}
{% else %}

{% trans trombi=user.trombi_user.trombi %}You already choose to be in that Trombi: {{ trombi }}.{% endtrans %}
{% trans %}Go to my Trombi tools{% endtrans %}

{% endif %} {% if profile.customer %}

{% trans %}Student cards{% endtrans %}

{% if profile.customer.student_cards.exists() %} {% else %} {% trans %}No student card registered.{% endtrans %}

{% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually add a student card yourself, you'll need a NFC reader. We store the UID of the card which is 14 characters long.{% endtrans %}

{% endif %}
{% csrf_token %} {{ student_card_form.as_p() }}
{% endif %}
{% endblock %}