public function carFormEdit(CarForm $form) { $values = $form->getValues(); unset($values->car_id); $this->carsModel->updateCar($this->template->car, $values); $this->flashMessage('Vozidlo bolo úspešne editované!', 'success'); $this->redirect('Car:'); }