This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/src/Views/auth-login.phtml

20 lines
500 B
PHTML
Raw Normal View History

2013-10-05 12:55:03 +02:00
<form action="<?php echo \Chibi\UrlHelper::route('auth', 'login') ?>" method="post">
<div>
<label for="user">User:</label>
<input id="user" name="user"/>
</div>
<div>
<label for="pass">Password:</label>
<input type="password" id="pass" name="pass"/>
</div>
<div>
2013-10-06 18:50:06 +02:00
<input type="submit" value="Log in"/>
2013-10-05 12:55:03 +02:00
</div>
</form>
<?php if (isset($this->context->transport->errorMessage)): ?>
<p class="alert alert-error"><?php echo $this->context->transport->errorMessage ?></p>
<?php endif ?>