Skip to content

Commit

Permalink
feat(digital): only show flows supported on digital flow
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Sep 24, 2024
1 parent 545af5d commit 14a2a0f
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 @@ -26,7 +26,7 @@ class EnrollmentFlowSelectionForm(forms.Form):

def __init__(self, agency: models.TransitAgency, *args, **kwargs):
super().__init__(*args, **kwargs)
flows = agency.enrollment_flows.all()
flows = agency.enrollment_flows.filter(supported_enrollment_methods__contains=models.EnrollmentMethods.DIGITAL)

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 14a2a0f

Please sign in to comment.