title: django-crispy-forms: Change name of input
body: <p>I am running into some minor problems with <code>django-crispy-form</code>.</p>
  
  <p>I currently have a form, which successfully displays all fields from my model.</p>
  
  <p>However, I would like to change the html-attribute <code>name</code> to something else. I realize this might be difficult, since <code>django-crispy-forms</code> probably expects the name to be the same as the field in the model.</p>
  
  <p>I managed to change the <code>id</code>, but the <code>name</code> will not update. Any chance that there is a fix for this, other than changing the name of my columns in my database?</p>
  
  <h3>Example code</h3>
  
  <pre><code>from django import forms
  from crispy_forms.helper import FormHelper
  
  class CompanyForm(forms.ModelForm):
  
      def __init__(self, *args, **kwargs):
          super(CompanyForm, self).__init__(*args, **kwargs)
          self.fields['name'].widget.attrs['id'] = 'company_n' # works
          self.fields['name'].widget.attrs['name'] = 'company_n' # does not work
  
          self.helper = FormHelper()
  </code></pre>