Fixed some bugs
This commit is contained in:
parent
3398d7b4ed
commit
bd590d7a75
3 changed files with 6 additions and 8 deletions
|
@ -109,9 +109,7 @@ router
|
||||||
|
|
||||||
router.route("/nous-contacter").get(async (req, res, next) => {
|
router.route("/nous-contacter").get(async (req, res, next) => {
|
||||||
try {
|
try {
|
||||||
const page = new Albums(req, "nous-contacter");
|
const page = new Pages(req, "nous-contacter");
|
||||||
|
|
||||||
await page.loadMyCollection();
|
|
||||||
|
|
||||||
render(res, page);
|
render(res, page);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="connexion">
|
<div class="connexion">
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
<h2>
|
<h1>
|
||||||
Connexion
|
Connexion
|
||||||
</h2>
|
</h1>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label for="email">Adresse e-mail</label>
|
<label for="email">Adresse e-mail</label>
|
||||||
<input type="email" name="email" id="email" placeholder="ex : damien@darkou.fr">
|
<input type="email" name="email" id="email" placeholder="ex : damien@darkou.fr">
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<div class="connexion">
|
<div class="connexion">
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
<h2>
|
<h1>
|
||||||
Inscription
|
Inscription
|
||||||
</h2>
|
</h1>
|
||||||
<div class="field">
|
<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">
|
<input type="text" name="username" id="username" placeholder="ex : darkou">
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|
Loading…
Reference in a new issue