Remove the defaults from the RA fields + make them required

This commit is contained in:
2020-07-02 19:16:42 +01:00
parent 1dfaa4d7a8
commit b57b918247
2 changed files with 20 additions and 19 deletions

View File

@@ -164,6 +164,7 @@ class EventRiskAssessmentForm(forms.ModelForm):
(True, 'Yes'),
(False, 'No')
], attrs={'class': 'custom-control-input'})
field.required = True
class Meta:
model = models.RiskAssessment