title: Style Login Form of Django-Allauth using Django-Crispy-Forms
body: <p>I am using django-crispy-forms to style the login form of the django-allauth login.html </p>
  
  <pre><code>  &lt;form class="login" method="POST" action="{% url 'account_login' %}"&gt;
      {% csrf_token %}
      {{ form|crispy }}
      {% if redirect_field_value %}
      &lt;input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /&gt;
      {% endif %}
      &lt;a class="button secondaryAction" href="{% url 'account_reset_password' %}"&gt;{% trans "Forgot Password?" %}&lt;/a&gt;
      &lt;button class="primaryAction" type="submit"&gt;{% trans "Sign In" %}&lt;/button&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>However, the form <code>{{ field.label }}</code> is not "inline" with the <code>{{ field }}</code>. Is there a simple way to make them inline while still using django-crispy-form or something similar to polish the appearance?</p>
  
  <p>I also want to learn how to hide the <code>{{ field.label }}</code> on display. The only thing I can think of is to loop over the fields of forms, and comment out the label display on the following answer.</p>
  
  <p><a href="https://stackoverflow.com/questions/8474409/django-forms-and-bootstrap-css-classes-and-divs">Django Forms and Bootstrap - CSS classes and &lt;divs&gt;</a></p>