make rapid form crispy

This commit is contained in:
Ross
2024-10-21 12:30:21 +01:00
parent ad54fce54b
commit eeaa345f3c
5 changed files with 123 additions and 109 deletions
+6 -1
View File
@@ -161,7 +161,12 @@ class Rapid(QuestionBase):
question = models.TextField(null=True, blank=True)
history = models.TextField(null=True, blank=True)
normal = models.BooleanField(default=False, help_text="Tick if true")
NORMAL_CHOICES = (
(True, "Normal"),
(False, "Abnormal"),
)
normal = models.BooleanField(default=False, help_text="Defines if a question is normal/abnormal", choices=NORMAL_CHOICES)
NONE = "NONE"
LEFT = "LEFT"