<s> from django import forms <EOL> from django . forms . widgets import Input <EOL> class EmailInput ( Input ) : <EOL> input_type = '<STR_LIT:email>' <EOL> class LoginForm ( forms . Form ) : <EOL> username = forms . CharField ( ) <EOL> password = forms . CharField ( widget = forms . PasswordInput ( ) ) <EOL> class InlineForm ( forms . Form ) : <EOL> username = forms . CharField ( ) <EOL> password = forms . CharField ( widget = forms . PasswordInput ( ) ) <EOL> class RegisterForm ( forms . Form ) : <EOL> username = forms . CharField ( help_text = "<STR_LIT>" ) <EOL> email = forms . CharField ( help_text = "<STR_LIT>" ) <EOL> password1 = forms . CharField ( label = "<STR_LIT>" , help_text = "<STR_LIT>" , widget = forms . PasswordInput ( ) ) <EOL> password2 = forms . CharField ( label = "<STR_LIT>" , help_text = "<STR_LIT>" , widget = forms . PasswordInput ( ) ) <EOL> class FancyForm ( forms . Form ) : <EOL> email = forms . CharField ( required = False , label = "<STR_LIT>" , help_text = "<STR_LIT>" , widget = EmailInput ( ) ) <EOL> placeholder1 = forms . CharField ( required = False , label = "<STR_LIT>" , widget = forms . Textarea ( ) ) <EOL> placeholder2 = forms . CharField ( required = False , label = "<STR_LIT>" , widget = forms . Textarea ( attrs = { '<STR_LIT>' : <NUM_LIT:4> , '<STR_LIT>' : '<STR_LIT>' } ) ) <EOL> fake_error = forms . CharField ( label = "<STR_LIT>" ) <EOL> long_field = forms . CharField ( required = False , label = "<STR_LIT>" ) <EOL> appended = forms . CharField ( required = False , label = "<STR_LIT>" ) <EOL> prepended = forms . CharField ( required = False , label = "<STR_LIT>" ) </s>
