Skip to content
Snippets Groups Projects
Commit e80163ce authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

fix signup

parent af30a4cd
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ class UserCreateView(CreateView): ...@@ -36,7 +36,7 @@ class UserCreateView(CreateView):
def get_context_data(self,**kwargs): def get_context_data(self,**kwargs):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context["user_form"] = self.second_form context["profile_form"] = self.second_form()
return context return context
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
{{ user_form|crispy }} {{ profile_form|crispy }}
<button class="btn btn-link" type="submit"> <button class="btn btn-link" type="submit">
{% trans "Sign Up" %} {% trans "Sign Up" %}
</button> </button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment