{% extends "members/base.html" %}
{% load i18n %}
{% load static %}

{% block title %}
{% trans "Register" %}
{% endblock %}

{% block content %}

<link rel="stylesheet" href="{% static "ludwigsburgalpin/termine.css" static %}">

<h1>{% trans "Set login data" %}</h1>

<p>{% trans "Welcome, " %} {{ member.prename }}.
{% blocktrans %}To set your personal login data, please enter the password that you received.{% endblocktrans %}</p>

{% if error_message %}
	<p><b>{{ error_message }}</b></p>
{% endif %}

<form action="" method="post" enctype="multipart/form-data">
    <table class="termine">
    {% csrf_token %}
    {{form}}
    </table>
    <input name="key" type="hidden" value="{{key}}">
    <input name="password" type="hidden" value="{{password}}">
    <input name="save" type="hidden">
    <input type="submit" value="{% trans "submit" %}"/>
</form>

{% endblock %}
