This repository has been archived on 2019-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
2017-10-29 11:53:52 +01:00

23 lines
795 B
Django/Jinja

{% extends 'base.jinja' %}
{% block content %}
<div class="col-12 text-left p-3 bg-light text-dark">
<h2>Sign up</h2>
<form method="post" action="{{ url('signup') }}">
{% csrf_token %}
{% for field in form %}
<p>
{{ field.label_tag }}<br>
{{ field }}
{% if field.help_text %}
<small style="color: grey">{{ field.help_text }}</small>
{% endif %}
{% for error in field.errors %}
<p style="color: red">{{ error }}</p>
{% endfor %}
</p>
{% endfor %}
<button type="submit">Sign up</button>
</form>
</div>
{% endblock %}