<?php $this->layout('layouts/main'); ?>

<section class="section support-section">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<?php $this->insert('components/breadcrumb', ['items' => [
					[
						"text" => t__('Form')
					]
				]]) ?>
			</div>
			<div class="col-md-12">
				<div class="card">
					<div class="card-header">
						<h5 class="card-title"><?php echo substr($form["title"], 0, 50); ?></h5>
					</div>
					<div class="card-body pb-0">
						<?php foreach ($form["answers"] as $answer): ?>
							<div>
								<div class="form-label mb-1">
									<?php echo $answer["question"]; ?>
								</div>
								<p>
									<?php echo $answer["answer"]; ?>
								</p>
							</div>
						<?php endforeach; ?>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>
