mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 06:52:15 +00:00
Move text definitions to somewhere more authoratitive
This commit is contained in:
@@ -161,9 +161,9 @@ class EventRiskAssessmentForm(forms.ModelForm):
|
||||
for name, field in self.fields.items():
|
||||
if field.__class__ == forms.BooleanField:
|
||||
field.widget = forms.RadioSelect(choices=[
|
||||
(True, 'Yes'),
|
||||
(False, 'No')
|
||||
], attrs={'class': 'custom-control-input'})
|
||||
(True, 'Yes'),
|
||||
(False, 'No')
|
||||
], attrs={'class': 'custom-control-input'})
|
||||
|
||||
class Meta:
|
||||
model = models.RiskAssessment
|
||||
|
||||
Reference in New Issue
Block a user