.
This commit is contained in:
@@ -56,6 +56,9 @@ class ItemForm(ModelForm):
|
||||
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(ItemForm, self).__init__(*args, **kwargs)
|
||||
self.fields['radiology_condition'].label_from_instance = lambda obj: "%s" % obj.get_with_subspecialty()
|
||||
|
||||
class AssessorAssignmentForm(Form):
|
||||
items = ModelMultipleChoiceField(queryset=Item.objects.all(), widget=forms.SelectMultiple(attrs={'size': 20}))
|
||||
Reference in New Issue
Block a user