Switch to unified view
a | b/OSSEval/OSProject/forms.py | ||
---|---|---|---|
1 | from django import forms |
||
2 | from django.forms.widgets import RadioSelect |
||
3 | |||
4 | class SearchForm(forms.Form): |
||
5 | TARGETS = [['0','All forges'],['5','FSF'],['2','FM'],['12','GC'],['11','GH'],['100','Ohloh']] |
||
6 | |||
7 | target = forms.ChoiceField( widget=RadioSelect(), choices=TARGETS) |
||
8 | name = forms.CharField(max_length=50) |
||
9 | analysis_id = forms.CharField(widget=forms.HiddenInput()) |