Keep form data in user/add view on error
这个提交包含在:
父节点
5f9665fe48
当前提交
ece7fe534f
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -52,7 +52,7 @@ class User extends CI_Controller {
|
||||||
$data['user_callsign'] = $this->input->post('user_callsign');
|
$data['user_callsign'] = $this->input->post('user_callsign');
|
||||||
$data['user_locator'] = $this->input->post('user_locator');
|
$data['user_locator'] = $this->input->post('user_locator');
|
||||||
$data['user_timezone'] = $this->input->post('user_timezone');
|
$data['user_timezone'] = $this->input->post('user_timezone');
|
||||||
$this->load->view('user/add');
|
$this->load->view('user/add', $data);
|
||||||
} else {
|
} else {
|
||||||
$this->load->view('user/add', $data);
|
$this->load->view('user/add', $data);
|
||||||
}
|
}
|
||||||
|
|
@ -88,7 +88,7 @@ class User extends CI_Controller {
|
||||||
$data['user_lastname'] = $this->input->post('user_lastname');
|
$data['user_lastname'] = $this->input->post('user_lastname');
|
||||||
$data['user_callsign'] = $this->input->post('user_callsign');
|
$data['user_callsign'] = $this->input->post('user_callsign');
|
||||||
$data['user_locator'] = $this->input->post('user_locator');
|
$data['user_locator'] = $this->input->post('user_locator');
|
||||||
$this->load->view('user/add');
|
$this->load->view('user/add', $data);
|
||||||
$this->load->view('interface_assets/footer');
|
$this->load->view('interface_assets/footer');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用