renew.html 1.26 KB
Newer Older
1
{% extends "base_form.html" %}
frekk's avatar
frekk committed
2
3
{% block title %}UCC Membership Renewal{% endblock %}
{% block content_title %}
4
	<h1>Renew your membership for {{ year }}</h1>
frekk's avatar
frekk committed
5
6
7
8
9
{% endblock %}

{% block tips %}
{% if is_new %}
<b>Your account exists already but no membership information has yet been recorded in this system.</b>
10
<br>Please update/correct the details below as necessary. Some have probably been filled for you.
frekk's avatar
frekk committed
11
{% else %}
12
13
14
15
16
	{% if last_renewal == year %}
		You have already submitted a membership renewal for {{ year }}. You may update your details below if they have changed, although any changes you make will need to be approved.
	{% else %}
		Please confirm that the details below have not changed since your last registration or membership renewal.
	{% endif %}
frekk's avatar
frekk committed
17
18
19
20
{% endif %}
{% endblock %}

{% block extra_preform %}
21
22
23
24
25
{% if memberships and last_renewal == year %}
<div class="form-row">
	{% include 'membership_list.html' %}
</div>
{% endif %}
frekk's avatar
frekk committed
26
<div class="form-row readonly">
27
28
	<label for="id_username">Username:</label>
	<span class="text" id="id_username">{{ request.user.username }}</span>
frekk's avatar
frekk committed
29
30
31
32
33
</div>
{% endblock %}

{% block action_url %}{% url 'memberdb:renew' %}{% endblock %}

34
{% block action_text %}{% if last_renewal == year %}Save &amp; Update{% else %}Renew{% endif %}{% endblock %}