Add help text for AnatomyQuestion structure field and enhance form instructions
This commit is contained in:
@@ -116,6 +116,8 @@ class AnatomyQuestion(QuestionBase):
|
|||||||
)
|
)
|
||||||
structure = models.ForeignKey(
|
structure = models.ForeignKey(
|
||||||
Structure, on_delete=models.SET_NULL, null=True, blank=True
|
Structure, on_delete=models.SET_NULL, null=True, blank=True
|
||||||
|
, help_text="The structure that is being asked about in the question, this is used for categorisation and search purposes but is not required to be set for a question to be valid."
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
author = models.ManyToManyField(
|
author = models.ManyToManyField(
|
||||||
|
|||||||
@@ -228,10 +228,14 @@
|
|||||||
|
|
||||||
<h2>{{object|yesno:"Update,Create"}} Question</h2>
|
<h2>{{object|yesno:"Update,Create"}} Question</h2>
|
||||||
{% help "Help" %}
|
{% help "Help" %}
|
||||||
<p>This form can be used to create an Anatomy question.</p>
|
<p>This form can be used to create an Anatomy question. Once created, the question can be edited or deleted as needed.</p>
|
||||||
|
|
||||||
<p>Question type can be selected from a predefined list. If you require a more please contact ross.kruger@nhs.net.</p>
|
<p>Question type can be selected from a predefined list. If you require a more please contact ross.kruger@nhs.net.</p>
|
||||||
|
|
||||||
|
<p>Answers can be defined once the question has been created (and labelled).</p>
|
||||||
|
|
||||||
|
<p>Not all fields are required.</p>
|
||||||
|
|
||||||
<p>Correct and incorrect answers can be defined once the question has been created.</p>
|
<p>Correct and incorrect answers can be defined once the question has been created.</p>
|
||||||
|
|
||||||
<p>Images can be selected either directly via the browse button or by dragging and dropping them into the designated area below.</p>
|
<p>Images can be selected either directly via the browse button or by dragging and dropping them into the designated area below.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user