Skip to content

Implement IndexView as FormView with agency select #3125

@thekaveman

Description

@thekaveman

Current view: https://github.com/cal-itp/benefits/blob/main/benefits/core/views.py#L25

Figma: https://www.figma.com/design/SeSd3LaLd6WkbEYhmtKpO3/Benefits--Full-Application-?node-id=9754-52797

Acceptance Criteria

  • Using HTML / browser-native <select> element
  • Reuse existing focus-ring style e.g. on buttons, links for the select
  • Agency selection is required to submit the form, browser native validation message indicates that a selection is required
  • Active agencies are listed in alphabetical order in the select
  • Selecting an agency updates the homepage copy to reflect that agency (in-place without a redirect/page change)
  • Clicking Next takes you to the Eligibility Start view

Additional context

Metadata

Metadata

Assignees

Labels

back-endDjango views, sessions, middleware, models, migrations etc.front-endHTML/CSS/JavaScript and Django templates

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions