1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Create user and profile with all field needed

This commit is contained in:
Pierre-antoine Comby
2020-02-02 15:42:39 +01:00
parent c4a5970ca3
commit 37a5b578a4
3 changed files with 23 additions and 14 deletions

View File

@ -1,14 +1,17 @@
<!-- templates/signup.html -->
{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}Sign Up{% endblock %}
{% block content %}
<h2>Sign up</h2>
<form method="post">
{% csrf_token %}
{{ user_form|crispy }}
{{ form|crispy }}
<button type="submit">Sign up</button>
{% csrf_token %}
{{ form|crispy }}
{{ user_form|crispy }}
<button class="btn btn-link" type="submit">
{% trans "Sign Up" %}
</button>
</form>
{% endblock %}