diff options
author | polo <ordipolo@gmx.fr> | 2025-06-28 10:34:25 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-06-28 10:34:25 +0200 |
commit | ef60a4bd581ec9fb85384c6a262b499373a37d67 (patch) | |
tree | 7ae6d4aa39cf6128a0358634b371c3ed77c3a18b /src/view/templates/form.php | |
parent | f60a9d046088b3bad3e97ff568fc83fecc67ccde (diff) | |
download | cms-ef60a4bd581ec9fb85384c6a262b499373a37d67.zip |
formulaire de contact 1
Diffstat (limited to 'src/view/templates/form.php')
-rw-r--r-- | src/view/templates/form.php | 32 |
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 | ||