id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 27246 Factor out input template in ClearableFileInput and document template class attributes Martin Pauly Martin Pauly "`ClearableFileInput` uses a template variable in its `render()` implementation (see https://github.com/django/django/blob/master/django/forms/widgets.py#L405) that I would like to factor out as a class attribute. This would allow to change the appearance of the 'Select file' button for `ClearableFileInput`, by e.g. wrapping it in a div and adding a span. For normal `FileInput` that is already possible by overwriting the render method, however for `ClearableFileInput` this gets comparably ugly. This would be in line with having the other template strings as class attributes. Also I believe it would be good to document the multiple `template_*` class attributes. " New feature closed Forms 1.10 Normal wontfix Unreviewed 0 0 0 0 0 0