Skip to main content

Module handlers

Module handlers 

Source
Expand description

The draft-entry editor’s HTTP handlers: the editor page, the per-slot pick page, and the set / clear / save / discard mutations.

Structs§

SetSlotForm

Functions§

clear_slot
Empty a slot, removing its pick from the draft.
discard
Abandon the draft and return to the contest.
editor
The full editor page: cap band, the nine slot rows, save/discard footer.
pick
The candidate list for one slot, its own page: “Select QB” in the bar and an X that closes back to the editor.
router
Routes for the draft-entry editor.
save
Commit the draft as a real entry, then go to it.
set_slot
Place a pick in a slot (gsis_id for players, team_abbr for DEF), then back to the editor.