Mercurial > public > sg101
diff membermap/forms.py @ 1077:26f2b83e7468
Update Member Map to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 21:01:48 -0500 |
parents | 6164cc091649 |
children |
line wrap: on
line diff
--- a/membermap/forms.py Sat Apr 16 12:16:19 2016 -0500 +++ b/membermap/forms.py Tue Apr 19 21:01:48 2016 -0500 @@ -10,9 +10,8 @@ class MapEntryForm(forms.ModelForm): - location = forms.CharField(required=True, - widget=forms.TextInput(attrs={'size': 64, 'maxlength': 255})) - message = forms.CharField(required=False, + location = forms.CharField(required=True, label='Your Location') + message = forms.CharField(required=False, label='Your Message', widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) def clean_message(self):