2013-10-25 01:03:16 +02:00
|
|
|
{% extends "form_base.html" %}
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
{% load crispy_forms_tags %}
|
2013-10-23 00:27:31 +02:00
|
|
|
|
2013-10-25 01:03:16 +02:00
|
|
|
{% block form_title %}{% trans "Gastro PIN"%}{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block form_description %}
|
2013-10-25 04:24:26 +02:00
|
|
|
|
|
|
|
|
<p>{% blocktrans %}Change your Gastro PIN to access the vending machines.
|
|
|
|
|
To use unlock member prices, press the <code>A</code> button then enter
|
|
|
|
|
your numeric user ID{% endblocktrans %}
|
|
|
|
|
<code>{{ member.uidNumber }}</code>
|
|
|
|
|
{% blocktrans %}and your Gastro PIN.{% endblocktrans %}</p>
|
2013-10-25 01:03:16 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block form_fields %}
|
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
|
<form action="{% url account.views.gastropin %}" method="post" class="form-horizontal well">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
{{ form|crispy }}
|
|
|
|
|
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<button type="submit" class="btn btn-primary">{% trans "Save"%}</button>
|
2013-10-23 00:27:31 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-10-25 01:03:16 +02:00
|
|
|
</form>
|
|
|
|
|
{% endblock form_fields %}
|