This commit is contained in:
Ross
2020-12-27 12:07:10 +00:00
parent c2f0ab7e8d
commit c6d2ff326c
+2 -2
View File
@@ -107,7 +107,7 @@ AnswerFormSet = inlineformset_factory(
fields=["answer", "status"],
widgets={
"answer": Textarea(
attrs={"required": "true", "minlength": 2, "maxlength": 500}
attrs={"required": "true", "minlength": 2, "maxlength": 500, 'rows': 3}
)
},
exclude=[],
@@ -123,7 +123,7 @@ AnswerUpdateFormSet = inlineformset_factory(
fields=["answer", "status"],
widgets={
"answer": Textarea(
attrs={"required": "true", "minlength": 2, "maxlength": 500}
attrs={"required": "true", "minlength": 2, "maxlength": 500, 'rows': 3}
)
},
exclude=[],