adds help texts

This commit is contained in:
2026-02-16 16:00:16 +01:00
parent 514f1cb483
commit 78c51d55b5
9 changed files with 95 additions and 46 deletions

View File

@@ -86,23 +86,27 @@ public function fields(NovaRequest $request): array
BelongsTo::make('User', 'user', User::class)
->sortable()
->filterable()
->rules('required'),
->rules('required')
->help('The person who completed this pre-screening.'),
Number::make('Score')
->sortable()
->filterable()
->copyable()
->rules('required', 'integer'),
->rules('required', 'integer')
->help('The number of "Yes" answers out of 10 pre-screening questions.'),
Boolean::make('Passed')
->sortable()
->filterable()
->rules('required', 'boolean'),
->rules('required', 'boolean')
->help('Whether the user scored 5 or more points and was allowed to continue to the full questionnaire.'),
DateTime::make('Created At')
->exceptOnForms()
->sortable()
->filterable(),
->filterable()
->help('When this pre-screening was started.'),
HasMany::make('Sessions', 'sessions', SessionResource::class),
];