Fixed some bugs

This commit is contained in:
Damien Broqua 2022-02-23 11:18:59 +01:00
parent 3398d7b4ed
commit bd590d7a75
3 changed files with 6 additions and 8 deletions

View file

@ -109,9 +109,7 @@ router
router.route("/nous-contacter").get(async (req, res, next) => {
try {
const page = new Albums(req, "nous-contacter");
await page.loadMyCollection();
const page = new Pages(req, "nous-contacter");
render(res, page);
} catch (err) {

View file

@ -1,8 +1,8 @@
<div class="connexion">
<form method="POST">
<h2>
<h1>
Connexion
</h2>
</h1>
<div class="field">
<label for="email">Adresse e-mail</label>
<input type="email" name="email" id="email" placeholder="ex : damien@darkou.fr">

View file

@ -1,10 +1,10 @@
<div class="connexion">
<form method="POST">
<h2>
<h1>
Inscription
</h2>
</h1>
<div class="field">
<label for="email">Nom d'utilisateur</label>
<label for="username">Nom d'utilisateur</label>
<input type="text" name="username" id="username" placeholder="ex : darkou">
</div>
<div class="field">