up error message in login.phtml

This commit is contained in:
Andrey Kuvshinov
2023-07-07 08:35:44 +00:00
parent 1416f14e73
commit 3ee21aaea5

View File

@@ -2,6 +2,9 @@
<form method="POST" action="login">
<p><label for="username" id="formtitle">Вход в личный кабинет*</label></p>
<?if (isset($error)):?>
<div id="error" style="color: red;"><?=$error?></div>
<?endif?>
<p><input name="username" type="email" autocomplete="on" placeholder="Введите электронную почту" required autofocus /><span class="icon"><i class="far fa-envelope"></i></span></p>
<p><input name="password" type="password" minlength="5" autocomplete="current-password" placeholder="Введите пароль" required ><span class="icon"><i class="fas fa-key"></i></p>
<p><input class="submit" type="submit" value="ВОЙТИ"></p>
@@ -14,10 +17,6 @@
<p><a href="https://klan.argumenti.ru/checkout/podpiska-na-elektronnuyu-versiyu-gazety-argumenty-nedeli-na-god/1">Оформить годовой членский взнос</a></p>
</div>
<?if (isset($error)):?>
<div id="error" style="color: red;"><?=$error?></div>
<?endif?>
<div style="text-align:left;">
<p style="display:block;">Участникам КЛАНА доступны:</p>
<ul style="padding:0px;">