add auth
This commit is contained in:
14
app/views/login.phtml
Normal file
14
app/views/login.phtml
Normal file
@@ -0,0 +1,14 @@
|
||||
<div id="container_form">
|
||||
|
||||
<form method="POST" action="login">
|
||||
<p><label for="username">Вход в личный кабинет</label></p>
|
||||
<p><input name="username" type="email" autocomplete="on" placeholder="Введите электронную почту"/></p>
|
||||
<p><input name="password" type="password" minlength="5" autocomplete="current-password" placeholder="Введите пароль"></p>
|
||||
<p><input type="submit" value="ВОЙТИ"></p>
|
||||
</form>
|
||||
|
||||
<?if (isset($error)):?>
|
||||
<div id="error" style="color: red;"><?=$error?></div>
|
||||
<?endif?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user