31 lines
567 B
HTML
31 lines
567 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<style>
|
|
input, textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
.checkmark {
|
|
width: auto;
|
|
}
|
|
</style>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% for field in form %}
|
|
<p>
|
|
{{ field.label_tag }}<br>
|
|
{% if field.help_text %}
|
|
<small style="color: grey">{{ field.help_text }}</small><br>
|
|
{% endif %}
|
|
{{ field }}<br>
|
|
{% for error in field.errors %}
|
|
<p style="color: red">{{ error }}</p>
|
|
{% endfor %}
|
|
</p>
|
|
{% endfor %}
|
|
<button type="submit">Sign up</button>
|
|
</form>
|
|
{% endblock %}
|