Commits

Mark Stahler committed a1171f7

woops, left dashes in from a paste

Comments (0)

Files changed (1)

contact_form/forms.py

 
     """
     class Meta:
--        model = ContactMessage
--        exclude = ('message_read', 'message_sent')
--        widgets = {
--            'name': forms.TextInput(attrs=dict(attrs_dict, maxlength=100)),
--            'email': forms.TextInput(attrs=dict(attrs_dict, maxlength=200)),
--            'body': forms.Textarea(attrs=attrs_dict),
--        }
+        model = ContactMessage
+        exclude = ('message_read', 'message_sent')
+        widgets = {
+            'name': forms.TextInput(attrs=dict(attrs_dict, maxlength=100)),
+            'email': forms.TextInput(attrs=dict(attrs_dict, maxlength=200)),
+        }
 
     def __init__(self, data=None, files=None, request=None, *args, **kwargs):
         if request is None: