progetto fatto precedentemente adattato al framework creato con il corso
filippo.bertilotti
2024-06-11 8e493d574a3a54f23041f47617545b19e6193573
commit | author | age
20a1fc 1 {% extends "base.mvc.php" %}
F 2
3 {% block title %} Home {% endblock %}
4
5 {% block body %}
6
7 {% include "../views/Fiat/header.mvc.php" %}
8
9 <main>
7d7d7a 10     <form action="/fiat/contact" method="post">
20a1fc 11         Inserisci l'email:
F 12         <input type="email" name="email" placeholder="inserisci l'email"> <br>
13         Inserisci il numero:
3f3e8c 14         <input type="text" name="telefono" placeholder="inserisci il numero"> <br>
20a1fc 15         <button type="submit">clicca qui</button>
F 16     </form>
8e493d 17     {% foreach ($errors as $error): %}
F 18         <h4>{{error}}</h4>
19     {% endforeach; %}
20a1fc 20 </main>
F 21
22 {% include "../views/Fiat/footer.mvc.php" %}
23
24 {% endblock %}