cal-itp / benefits

Transit benefits enrollment, minus the paperwork.
https://docs.calitp.org/benefits
GNU Affero General Public License v3.0
25 stars 9 forks source link

Refactor eligibility start template default value #2063

Open thekaveman opened 2 months ago

thekaveman commented 2 months ago

In #1968 we introduced a new model field to hold a template with a default value that can be overridden if needed. The default was stored directly in the model/database rather than separated as a string in the views.

We decided that this is the best approach for these types of cases, so we need to refactor the existing EligibilityVerifier.start_template to conform to this approach.

Acceptance Criteria

Additional context

The same approach is being taken in #2053