From fd2250fdc10d57e6a0780510cc13f8d6fbbfbe2d Mon Sep 17 00:00:00 2001 From: RameshT Date: Thu, 25 Jul 2024 18:24:05 +0530 Subject: [PATCH] committed --- application/controllers/Form_controller.php | 2 +- application/views/edit_form_view.php | 243 ++++++++++++-------- application/views/response_submit.php | 2 +- application/views/responses_list.php | 12 +- application/views/templates/footer.php | 96 ++++++++ application/views/templates/forms_ui.php | 7 + application/views/templates/header.php | 15 +- application/views/users/login.php | 30 +-- application/views/users/register.php | 20 +- assets/css/header_styles.css | 116 ++++++++-- assets/css/response_details.view.css | 6 + assets/css/styles.css | 20 +- assets/js/scripts.js | 40 +++- 13 files changed, 443 insertions(+), 166 deletions(-) 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 @@ + + + + +