modif Connection.html

pull/6/head
Maxime POINT 1 year ago
parent 5c052b2851
commit 9cbb6e6766

@ -90,7 +90,7 @@ class UserControleur
$dVue = [ $dVue = [
'data' => ArticleModel::getArticles() 'data' => ArticleModel::getArticles()
]; ];
echo $twig->render('connexion.html', [ echo $twig->render('listArticle.html', [
'dVue' => $dVue 'dVue' => $dVue
]); ]);
} }

@ -18,12 +18,12 @@
{% endif %} {% endif %}
<h1>Login</h1> <h1>Login</h1>
<form method="post" name="myform" id="myform"> <form method="post" name="myform" id="myform" action="/user/login">
<table> <table>
<tr> <tr>
<td>Nom</td> <td>Nom</td>
<td> <td>
<input name="username" value="{{dVue.nom}}" type="text" size="20" /> <input name="username" value="" type="text" size="20" />
</td> </td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save