Parent
Part of #1603.
What to build
On the election Settings admin page, the owner picks which ballot submission channels are allowed for the election via a checkbox group: Online (browser), Paper ballots (admin upload), and (behind a feature flag) Discord. This is the UI for the allowed_submit_types setting added in #1604.
Acceptance criteria
Blocked by
#1604 (needs the allowed_submit_types field, default, and validation to exist).
Parent
Part of #1603.
What to build
On the election Settings admin page, the owner picks which ballot submission channels are allowed for the election via a checkbox group: Online (browser), Paper ballots (admin upload), and (behind a feature flag) Discord. This is the UI for the
allowed_submit_typessetting added in #1604.Acceptance criteria
allowed_submit_typescontrol on the Settings page, styled as aFormGroupof three checkboxes — not three independent toggles, since they share one array-valued setting: "Online (browser)", "Paper ballots (admin upload)", "Discord".(election.settings.allowed_submit_types ?? DEFAULT_ALLOWED_SUBMIT_TYPES).includes(<that type>); toggling one writes the full updated array back.DEFAULT_ALLOWED_SUBMIT_TYPESdefault in Enforce allowed_submit_types in the ballot-submission pipeline #1604 — no separate default logic needed here).Blocked by
#1604 (needs the
allowed_submit_typesfield, default, and validation to exist).