Merge branch 'master' of ssh://gl.arguments.ru:2224/ak/anpdf

This commit is contained in:
arlemp@selectel.ru
2023-07-07 11:55:08 +03:00

View File

@@ -5,7 +5,7 @@
<?if (isset($error)):?> <?if (isset($error)):?>
<div id="error" style="color: red;"><?=$error?></div> <div id="error" style="color: red;"><?=$error?></div>
<?endif?> <?endif?>
<p><input name="username" type="email" autocomplete="on" placeholder="Введите электронную почту" required autofocus <?if (isset($_POST['username'])){ echo 'value="'.$_POST['username'].'"';?>/><span class="icon"><i class="far fa-envelope"></i></span></p> <p><input name="username" type="email" autocomplete="on" <?if (isset($_POST['username']) and $_POST['username'] !== ''):?>value="<?=$_POST['username']?>"<?else:?>placeholder="Введите электронную почту"<?endif?>) 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 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> <p><input class="submit" type="submit" value="ВОЙТИ"></p>
</form> </form>