maraujop/django-crispy-forms — pull request #356 by Shanto (2014-08-14 15:08:19+00:00)
Title: Check for FileInput instead of ClearableFileInput

The check "is_file" (used to add form-control class in bootstrap3) fails to detect file-inputs when you test against forms.ClearableFileInput alone. Instead, as proposed here, checking against forms.FileInput (which is the base class of forms.ClearableFileInput) can cover both cases.