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
2013-10-06 18:50:06 +02:00

19 lines
500 B
PHTML

<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>
<input type="submit" value="Log in"/>
</div>
</form>
<?php if (isset($this->context->transport->errorMessage)): ?>
<p class="alert alert-error"><?php echo $this->context->transport->errorMessage ?></p>
<?php endif ?>