bug fix #308

https://github.com/maraujop/django-crispy-forms/issues/308