|
Redirect the collector job's success handler to the new Stage 02 route,
carrying the collector job id. The `study_design` view loads the job, validates
it and parses the FileStats via `collector_job.file_stats`, then renders the
collected description, the genotype symbols, and the study-design/encoding
inputs.
POST stores the confirmed description and encoding in the collector job's
metadata (`stage02`) and redirects back to the review page (post/redirect/get),
which makes revisiting and re-submitting idempotent. Bind the study-design and
encoding fragments to the saved values.
|