web_AI-5/django/didgeridoo/webshop/templates/registration/register.html

20 lines
544 B
HTML
Raw Normal View History

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 %}
2018-01-28 20:30:35 +01:00
<button name="button_register" type="submit">Register</button>
2017-12-29 16:46:21 +01:00
</form>
{% endblock %}