Blueprint for keeping values in case of form validation errors

This commit is contained in:
phl0
2025-05-04 09:25:27 +02:00
parent 733dc373aa
commit 4cd6f0664a
2 changed files with 3 additions and 2 deletions

View File

@@ -36,8 +36,9 @@ class Station extends CI_Controller
if ($this->form_validation->run() == FALSE) {
$data['page_title'] = __("Create Station Location");
$data['gridsquare'] = $this->input->post('gridsquare');
$this->load->view('interface_assets/header', $data);
$this->load->view('station_profile/create');
$this->load->view('station_profile/create', $data);
$this->load->view('interface_assets/footer');
} else {
$this->stations->add();