mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 00:12:15 +00:00
Remove the defaults from the RA fields + make them required
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user