Parent
Part of #1603.
What to build
When online (browser) voting isn't an allowed submission channel for an election, voters see a clear banner in place of being able to cast a ballot, and the "Vote" button is hidden from the election's home page — the same treatment already used for draft/archived elections.
Acceptance criteria
Blocked by
#1604 (needs the allowed_submit_types field and default to exist).
Parent
Part of #1603.
What to build
When online (browser) voting isn't an allowed submission channel for an election, voters see a clear banner in place of being able to cast a ballot, and the "Vote" button is hidden from the election's home page — the same treatment already used for draft/archived elections.
Acceptance criteria
submitted_via_browserisn't in the resolvedallowed_submit_types(election.settings.allowed_submit_types ?? DEFAULT_ALLOWED_SUBMIT_TYPES) — same treatment as anarchivedelection.allowed_submit_typesto excludesubmitted_via_browseron a fixture/test election.Blocked by
#1604 (needs the
allowed_submit_typesfield and default to exist).