diff custom_search/forms.py @ 1127:829d3b7fc0f7

Convert search page to V3 design.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Sep 2016 21:49:22 -0500
parents 2f36abf65a62
children
line wrap: on
line diff
--- a/custom_search/forms.py	Thu Aug 18 20:48:00 2016 -0500
+++ b/custom_search/forms.py	Tue Sep 13 21:49:22 2016 -0500
@@ -38,14 +38,11 @@
 
     """
     q = forms.CharField(required=False, label='All these words',
-            widget=forms.TextInput(attrs={'type': 'search', 'class': 'search',
-                'size': 48}))
+                        widget=forms.TextInput(attrs={'type': 'search'}))
     exact = forms.CharField(required=False, label='This exact word or phrase',
-            widget=forms.TextInput(attrs={'type': 'search', 'class': 'search',
-                'size': 48}))
+                            widget=forms.TextInput(attrs={'type': 'search'}))
     exclude = forms.CharField(required=False, label='None of these words',
-            widget=forms.TextInput(attrs={'type': 'search', 'class': 'search',
-                'size': 48}))
+                              widget=forms.TextInput(attrs={'type': 'search'}))
 
     def __init__(self, *args, **kwargs):
         self.user = kwargs.pop('user', None)