joeni

settings.djhtml

1
{% extends "joeni/base.djhtml" %}
2
{% load i18n %}
3
{% load humanize %}
4
5
{% block title %}
6
    {% trans "Settings" %} | {{ block.super }}
7
{% endblock %}
8
9
{% block main %}
10
    <h1>{% trans "Settings" %}</h1>
11
    <h2>{% trans "Guidelines" %}</h2>
12
    <p>
13
        {% blocktrans %}
14
            On this screen, you can edit your personal details regarding your
15
            address, nationality, and other details.
16
        {% endblocktrans %}
17
    </p>
18
    <p>
19
        {% blocktrans %}
20
            The address data of where you study and the titularis address only
21
            need to be filled out if it differs from your home address. If not,
22
            you can leave those fields blank.
23
        {% endblocktrans %}
24
    </p>
25
26
    {#{% crispy user_data_form %}#}
27
    <form action="{% url "administration-settings" %}" method="post">
28
        {% csrf_token %} {# TODO I don't think that's necessary here #}
29
        {% include "joeni/form.djhtml" with form=user_data_form %}
30
        <input type="submit" value="{% trans "Save changes" %}" />
31
    </form>
32
{% endblock main %}
33