Skip to content

Commit

Permalink
Merge pull request #13 from WiserTogether/fix-email-input
Browse files Browse the repository at this point in the history
add input type - text, for validation email
  • Loading branch information
easel committed Mar 5, 2014
2 parents a323d49 + ff5c34c commit 16ec596
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_remote_forms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def as_dict(self):
widget_dict = super(RemoteEmailInput, self).as_dict()

widget_dict['title'] = 'TextInput'

widget_dict['input_type'] = 'text'

return widget_dict


Expand All @@ -59,6 +60,7 @@ def as_dict(self):
widget_dict = super(RemoteNumberInput, self).as_dict()

widget_dict['title'] = 'TextInput'
widget_dict['input_type'] = 'text'

return widget_dict

Expand All @@ -68,6 +70,7 @@ def as_dict(self):
widget_dict = super(RemoteURLInput, self).as_dict()

widget_dict['title'] = 'TextInput'
widget_dict['input_type'] = 'text'

return widget_dict

Expand Down

0 comments on commit 16ec596

Please sign in to comment.