Skip to content

Commit

Permalink
feat(form): EligibilityVerifierSelectionForm only shows active verifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 16, 2023
1 parent 28b00cf commit 68078ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/eligibility/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class EligibilityVerifierSelectionForm(forms.Form):

def __init__(self, agency: models.TransitAgency, *args, **kwargs):
super().__init__(*args, **kwargs)
verifiers = agency.eligibility_verifiers.all()
verifiers = agency.eligibility_verifiers.filter(active=True)

self.classes = "col-lg-8"
# second element is not used since we render the whole label using selection_label_template,
Expand Down

0 comments on commit 68078ef

Please sign in to comment.