equal
deleted
inserted
replaced
37 class myForm(forms.Form): |
37 class myForm(forms.Form): |
38 if is_plain: |
38 if is_plain: |
39 type_choices = [('S','Subtasks'),('D','Dependencies')] |
39 type_choices = [('S','Subtasks'),('D','Dependencies')] |
40 type = forms.ChoiceField(type_choices, widget=forms.RadioSelect) |
40 type = forms.ChoiceField(type_choices, widget=forms.RadioSelect) |
41 |
41 |
42 task = forms.MultipleChoiceField(choices=task_choices) |
42 task = forms.ChoiceField(choices=task_choices) |
43 return myForm() |
43 return myForm() |