mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	fix signup
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user