title: Using two django crispy forms
body: <p>I'm having difficulty using two django crispy forms simultaneously.  I have one form to just enter new data into my app and another form that displays in a bootstrap modal for users to provide feedback.  Below, I've stripped my template down to the bare bare basics.</p>
  
  <p>I have a Group form:</p>
  
  <pre><code>class Crispy_Group_Form(forms.ModelForm):
  
      def __init__(self, *args, **kwargs):
          self.helper = FormHelper()
          # self.helper.form_tag = False
          self.helper.form_class = 'form-horizontal'
          self.helper.layout = Layout(
              Fieldset(
                  'New Group',
                  Field('name', placeholder='Group Name'),
                  Field('notes', placeholder='Group Notes', rows='10', css_class='input-xxlarge'),
              ),
              FormActions(
                  Submit('save_changes', 'Save changes', css_class="btn-primary"),
                  HTML(' | '),
                  Submit('cancel', 'Cancel'),
              )
          )
          self.helper.form_id = 'id-Crispy_Group_Form'
          self.helper.form_method = 'post'
  
  
          super(Crispy_Group_Form, self).__init__(*args, **kwargs)        
  
      class Meta:
          model = Group
          exclude = ['slug']
  </code></pre>
  
  <p>and a Contact form</p>
  
  <pre><code>class Crispy_ContactForm(forms.ModelForm):
  
      def __init__(self, *args, **kwargs):
          self.helper = FormHelper()
          self.helper.form_class = 'form ajax'
          self.helper.form_action = 'feedback'
          self.helper.form_tag = False
          self.helper.layout = Layout(
              Fieldset(
                  'Contact Form',
                  Field('topic', placeholder='Topic', css_class='input-medium'),
                  Field('subject', placeholder='Subject', css_class='input-xlarge'),
                  Field('message', placeholder='Message', rows='5', css_class='input-xlarge'),
                  Field('sender', placeholder='Sender', css_class='input-xlarge'),
              ),
          )
          self.helper.form_id = 'id-Crispy_ContactForm'
          self.helper.form_method = 'post'
  
          super(Crispy_ContactForm, self).__init__(*args, **kwargs)
  
      class Meta:
          model = Feedback
          exclude = ['creation_date']
  </code></pre>
  
  <p>My view:</p>
  
  <pre><code>def bootstrap_test(request):
  
      return render_to_response(
          "bootstrap_test.html", {
              'feedback_form' : Crispy_ContactForm,
              'form' : Crispy_Group_Form,
          },
          context_instance=RequestContext(request))
  </code></pre>
  
  <p>And my very basic template:</p>
  
  <pre><code>{% load crispy_forms_tags %}
  
  &lt;form action="{% url feedback %}" method="post" id="id-Crispy_ContactForm" class="form"&gt;
      {% crispy feedback_form %}
  &lt;/form&gt;
  
  {% crispy form %}
  </code></pre>
  
  <p>The feedback_form is displaying twice.  As if both forms are the same form.  If I delete the feedback_form from the template, then it shows the Group form.  If I rearrange the two so {% crispy form %} is above the feedback_from, it displays the two different forms correctly. </p>
  
  <p><a href="http://django-crispy-forms.readthedocs.org/en/d-0/tags.html#rendering-several-forms-with-helpers" rel="nofollow">I read the documentation</a>, but wasn't able to find a method that works.</p>
  
  <p>Why is this happening and what do I need to adjust to get this to display correctly?</p>