@extends('layouts.portal') @php $editing = $exam->exists; $dt = fn ($v) => $v ? \Illuminate\Support\Carbon::parse($v)->format('Y-m-d\TH:i') : null; @endphp @section('title', $editing ? 'Edit exam' : 'New exam') @section('subtitle', $editing ? $exam->title : 'Set the format, proctoring rules and availability, then add questions.') @section('actions') {{ $editing ? 'Back to exam' : 'All exams' }} @endsection @section('content')
@csrf @if($editing) @method('PUT') @endif

Basics

Assessment rules

Proctoring & review

Standard and strict proctoring record tab switches, window blur, copy/paste and full-screen exits. Every event is listed on the attempt page so you can decide whether to void it.

Availability & credentials

@if($exam->badge)
Passing this exam awards {{ $exam->badge->name }}. Change badge details on its own page.
@else

Uses the course level for colour and stars, valid for 36 months. To attach an existing badge instead, open it under Badges and select this exam.

@endif
{{ $editing ? 'Changes apply to new attempts immediately; attempts in progress keep the rules they started with.' : 'You can add questions right after saving.' }}
Cancel
@endsection