2017-12-29 16:46:21 +01:00
|
|
|
{% extends 'webshop/base.html' %}
|
|
|
|
|
|
|
|
{% block section_title %}Registration{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if profile_form.errors %}
|
|
|
|
<p style="color: red;">
|
|
|
|
Please correct the error{{ form.errors|pluralize }} below.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2018-01-28 20:28:36 +01:00
|
|
|
<form id="register" name="register" action="" method="post" novalidate>
|
2017-12-29 16:46:21 +01:00
|
|
|
<table>
|
|
|
|
{{ user_form.as_table }}
|
|
|
|
{{ profile_form.as_table }}
|
|
|
|
</table>
|
|
|
|
{% csrf_token %}
|
|
|
|
<button type="submit">Register</button>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|