1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +00:00

fix signup

This commit is contained in:
Pierre-antoine Comby 2020-02-03 19:24:23 +01:00
parent af30a4cd16
commit e80163ce4d
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class UserCreateView(CreateView):
def get_context_data(self,**kwargs):
context = super().get_context_data(**kwargs)
context["user_form"] = self.second_form
context["profile_form"] = self.second_form()
return context

View File

@ -9,7 +9,7 @@
<form method="post">
{% csrf_token %}
{{ form|crispy }}
{{ user_form|crispy }}
{{ profile_form|crispy }}
<button class="btn btn-link" type="submit">
{% trans "Sign Up" %}
</button>