diff bandmap/forms.py @ 1109:bb7e2fc24690

Convert bandmap to V3 design.
author Brian Neal <bgneal@gmail.com>
date Sun, 10 Jul 2016 21:42:08 -0500
parents 9a0df7bd2409
children
line wrap: on
line diff
--- a/bandmap/forms.py	Wed Jul 06 21:46:45 2016 -0500
+++ b/bandmap/forms.py	Sun Jul 10 21:42:08 2016 -0500
@@ -21,20 +21,13 @@
             'location': 'See examples, above',
         }
         widgets = {
-            'name': forms.TextInput(attrs={
-                'size': 64,
-                'class': 'text'}),
             'url': forms.TextInput(attrs={
-                'size': 64,
-                'class': 'text',
+                'aria-describedby': 'url-help-text',
                 'placeholder': 'http://'}),
             'location': forms.TextInput(attrs={
-                'size': 64,
-                'class': 'text',
+                'aria-describedby': 'location-help-text',
                 'placeholder': 'Huntington Beach, CA, USA'}),
             'note': forms.TextInput(attrs={
-                'size': 64,
-                'class': 'text',
                 'placeholder': 'Optional short note about the band'}),
             'lat': forms.HiddenInput(),
             'lon': forms.HiddenInput(),