Skip to main content

prefill_from_basis

Function prefill_from_basis 

Source
pub async fn prefill_from_basis(
    pool: &PgPool,
    actor: &Actor,
    revision_id: Uuid,
) -> AppResult<BasisPrefill>
Expand description

The values the form New simulation based on … is prefilled with. A basis the actor may not read answers like a missing one (404), so the caller can fall back to the plain form without echoing anything.