.
This commit is contained in:
+4
-4
@@ -55,7 +55,7 @@ class ConditionForm(ModelForm):
|
||||
class CaseCollectionForm(ModelForm):
|
||||
class Meta:
|
||||
model = CaseCollection
|
||||
exclude = ["cases", "author"]
|
||||
exclude = ["cases", "valid_users"]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.user = kwargs.pop(
|
||||
@@ -413,9 +413,9 @@ class CidReportAnswerForm(ModelForm):
|
||||
"answer": Textarea(attrs={"cols": 100, "rows": 5}),
|
||||
}
|
||||
|
||||
help_texts = {
|
||||
"answer": "Write your answer in here."
|
||||
}
|
||||
#help_texts = {
|
||||
# "answer": "Write your answer in here."
|
||||
#}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CidReportAnswerForm, self).__init__(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user