Added: Create new refuel record
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 13s

This commit is contained in:
2025-01-05 18:30:29 +01:00
parent 860a20d946
commit 21c2f4598b
8 changed files with 193 additions and 21 deletions

View File

@ -22,7 +22,7 @@ class VehicleController extends Controller {
if($note == "") $note = NULL;
if (!$validator->passes()) {
$this->view('vehicle/create', [
$this->view('vehicles/create', [
'error' => 'Please correct the errors below.',
'validationErrors' => $validator->errors() ?: [],
]);