summaryrefslogtreecommitdiff
path: root/src/view/templates/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/templates/form.php')
-rw-r--r--src/view/templates/form.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/view/templates/form.php b/src/view/templates/form.php
new file mode 100644
index 0000000..97d53d4
--- /dev/null
+++ b/src/view/templates/form.php
@@ -0,0 +1,32 @@
1<?php declare(strict_types=1); ?>
2<section class="form" id="<?= $this->id_node ?>">
3 <?= $admin_content ?>
4 <h3><?= $title ?></h3>
5 <?= $no_recipient_warning ?>
6 <form method="post" action="<?= $action_url ?>">
7 <label for="email">Adresse e-mail</label>
8 <input type="email" name="email" placeholder="mon-adresse@email.fr" value="" required>
9
10 <label for="subject">Objet</label>
11 <input type="text" name="subject" value="" required>
12
13 <label for="message">Votre message</label>
14 <textarea type="text" name="message" rows="4" required></textarea>
15
16 <div class="full_width_column">
17 <label for="captcha" >Montrez que vous n'ĂȘtes pas un robot</label>
18 </div>
19
20 <label for="captcha" >Combien font <?= $captcha->getA() ?> fois <?= $captcha->getB() ?>?</label>
21 <div>
22 <input type="text" name="captcha" size="1" required>
23 </div>
24
25 <input type="hidden" name="form_id" value="">
26 <input type="hidden" name="form_hidden">
27
28 <div class="full_width_column">
29 <input type="submit" value="Envoyez votre message">
30 </div>
31 </form>
32</section> \ No newline at end of file