google_forms/application/views/response_details_view.php

29 lines
1.1 KiB
PHP
Raw Normal View History

2024-07-22 09:49:37 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Response Details</title>
<link rel="stylesheet" href="https://bootswatch.com/3/flatly/bootstrap.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/response_details_view.css">
</head>
<body>
<div class="container">
2024-07-19 10:46:18 +00:00
<div class="form-header">
<h2><?php echo $form->title; ?></h2>
2024-07-22 09:49:37 +00:00
<h4 class="form-description"><?php echo $form->description; ?></h4>
<p class="submitted-at">Submitted At: <?php echo $response->submitted_at; ?></p>
<p class="user-email">User Email: <?php echo $response->email; ?></p>
2024-07-19 10:46:18 +00:00
</div>
2024-07-22 09:49:37 +00:00
<?php foreach ($questions_and_answers as $question): ?>
2024-07-19 10:46:18 +00:00
<div class="form-section">
<div class="question-section">
2024-07-22 09:49:37 +00:00
<p class="form-control question-label"><?php echo $question->question_text; ?></p>
<div class="form-control" disabled><?php echo $question->answered_text; ?></div>
2024-07-19 10:46:18 +00:00
</div>
</div>
<?php endforeach; ?>
</div>
2024-07-22 09:49:37 +00:00
</body>
</html>