diff --git a/application/controllers/Form_controller.php b/application/controllers/Form_controller.php index b902a19..295ac8f 100644 --- a/application/controllers/Form_controller.php +++ b/application/controllers/Form_controller.php @@ -40,7 +40,7 @@ class Form_controller extends CI_Controller $this->load->model('Frontend_model'); $this->Frontend_model->deleteForm($id); $this->session->set_flashdata('status', 'Form data deleted successfully'); - redirect('home'); + redirect('drafts'); } public function __construct() { diff --git a/application/views/edit_form_view.php b/application/views/edit_form_view.php index 2adc2f1..49ebb3e 100644 --- a/application/views/edit_form_view.php +++ b/application/views/edit_form_view.php @@ -12,9 +12,37 @@ + + + + +