Module frontend.app.views.assessment

Functions

def assessment(participant_id, study_id)

Handles the assessment process for a participant in a study.

Args

participant_id : str
The ID of the participant.
study_id : str
The ID of the study.

Returns

Rendered HTML template for the assessment page or redirects based on form submission.

def assessments(participant_id, study_id)

Renders a summary of assessments for a specific participant in a study.

Args

participant_id : str
The ID of the participant.
study_id : str
The ID of the study.

Returns

Rendered HTML template for the assessments summary page.