from django import forms
from django.forms.widgets import RadioSelect
class SearchForm(forms.Form):
TARGETS = [['0','All forges'],['5','FSF'],['2','FM'],['12','GC'],['11','GH'],['100','Ohloh']]
target = forms.ChoiceField( widget=RadioSelect(), choices=TARGETS)
name = forms.CharField(max_length=50)
analysis_id = forms.CharField(widget=forms.HiddenInput())