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

26 lines
844 B
PHTML
Raw Normal View History

<form action="<?php echo \Chibi\UrlHelper::route('auth', 'login') ?>" class="auth aligned" method="post">
2013-10-12 19:28:52 +02:00
<div>
2013-10-16 18:07:23 +02:00
<p>If you don't have an account yet,<br/><a href="<?php echo \Chibi\UrlHelper::route('user', 'registration'); ?>">click here</a> to create a new one.</p>
2013-10-12 19:28:52 +02:00
</div>
2013-10-05 12:55:03 +02:00
<div>
<label class="left" for="name">User name:</label>
<div class="input-wrapper"><input id="name" name="name"/></div>
2013-10-05 12:55:03 +02:00
</div>
<div>
<label class="left" for="password">Password:</label>
<div class="input-wrapper"><input type="password" id="password" name="password"/></div>
2013-10-05 12:55:03 +02:00
</div>
2013-10-12 19:28:52 +02:00
<?php if (isset($this->context->transport->errorMessage)): ?>
<p class="alert alert-error">Error: <?php echo $this->context->transport->errorMessage ?></p>
<?php endif ?>
2013-10-05 12:55:03 +02:00
<div>
<label class="left"></label>
2013-10-13 00:36:10 +02:00
<button type="submit">Log in</button>
2013-10-05 12:55:03 +02:00
</div>
</form>