title: allauth with crispyform : signup not working
body: <p>I try to enhance my all auth's signup form with Crispy-form but it's not working :)</p>
  
  <p>I modify the allauth form in the forms.py to hide the labels and add the button</p>
  
  <p>My current problem is that the "self.helper.layout = Layout" in the forms.py makes the fields to disappear in the template, but if I comment the self.helper.layout = Layout, I don't have a button to validate my form x(</p>
  
  <p>I would like to have my fields and a working submit button for my form,</p>
  
  <p>Thanks for your help!</p>
  
  <hr>
  
  <p>details below</p>
  
  <hr>
  
  <p>forms.py</p>
  
  <pre><code>from django import forms
  from allauth.account.forms import SignupForm
  from crispy_forms.helper import FormHelper
  from crispy_forms.layout import Layout, ButtonHolder, Submit,Field
  from crispy_forms.bootstrap import FormActions
  
  class MySignupForm(SignupForm):
  def __init__(self, *args, **kwargs):
      super(MySignupForm, self).__init__(*args, **kwargs)
  
      self.helper = FormHelper()
      self.helper.form_show_labels = False
      self.helper.layout = Layout(
          FormActions(
              Submit('submit', 'Sign-up', css_class = 'btn-primary')
              ),
      )
  </code></pre>
  
  <p>I also define in my settings.py that I was using a custom form as signup </p>
  
  <pre><code># CUSTOM : Allauth Setup part
  AUTHENTICATION_BACKENDS = (
  # Needed to login by username in Django admin, regardless of `allauth`
  'django.contrib.auth.backends.ModelBackend',
  
  # `allauth` specific authentication methods, such as login by e-mail
  'allauth.account.auth_backends.AuthenticationBackend',
  )
  
  ACCOUNT_EMAIL_REQUIRED = True
  ACCOUNT_AUTHENTICATED_LOGIN_REDIRECTS = False
  SOCIALACCOUNT_QUERY_EMAIL = ACCOUNT_EMAIL_REQUIRED
  #Since users don't have account on the landing page, sign up redirect to thank you page
  LOGIN_REDIRECT_URL = '/thank-you'
  ACCOUNT_FORMS = {'signup': 'public.forms.MySignupForm'}
  </code></pre>
  
  <p>I overrided the allauth template with this version</p>
  
  <pre><code>{% extends "base.html" %}
  {% load socialaccount %}
  {% load crispy_forms_tags %}
  {% load i18n %}
  
  {% block head_title %}{% trans "Signup" %}{% endblock %}
  
  {% block content %}
  &lt;section id="contact"&gt;
    &lt;div class="row"&gt;
  &lt;div class="container"&gt;
          &lt;div class="col-lg-12 text-center"&gt;
            &lt;h1 class="section-heading"&gt;{% trans "Sign Up" %}&lt;/h1&gt;
          &lt;/div&gt;
          &lt;form class="signup" id="signup_form" method="post" action="{% url 'thankyou' %}"&gt;
            {% crispy form %}
          &lt;/form&gt;
  
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  {% endblock %}
  </code></pre>