Ticket #14338: 14338.diff

File 14338.diff, 619 bytes (added by fisadev, 14 years ago)
  • forms.py

     
    22
    33AS_Q_CHOICES = (
    44    ('more:dev_docs', 'Latest'),
    5     ('more:1.0_docs', '1.0'),
    6     ('more:0.96_docs', '0.96'),
     5    ('more:1.2_docs', '1.2'),
     6    ('more:1.1_docs', '1.1'),
    77    ('more:all_docs', 'All'),
    88)
    99
    1010class SearchForm(forms.Form):
    1111    q = forms.CharField(widget=forms.TextInput({'class': 'query'}))
    1212    as_q = forms.ChoiceField(choices=AS_Q_CHOICES, widget=forms.RadioSelect, initial='more:dev_docs')
    13    
    14  No newline at end of file
     13   
Back to Top