Here are the examples of the python api django.forms.EmailInput taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
0
View Complete Implementation : forms.py
Copyright MIT License
Author : ollysmall
Copyright MIT License
Author : ollysmall
def __init__(self, *args, **kwargs):
super(CustomPastwordResetForm, self).__init__(*args, **kwargs)
self.fields['email'].widget = forms.EmailInput(
attrs={'clast': 'form-control', 'autofocus': 'autofocus'})