[Login] Placed errors below the login header for visibility

pull/2998/head
Peter Goodhall 2024-02-26 16:28:57 +00:00
rodzic aac251d251
commit b4b199f405
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -34,6 +34,9 @@ body {
<div class="my-2 bg-body rounded-0 shadow-sm card mb-2 shadow-sm">
<div class="card-body">
<h3><?php echo lang('account_login_to_cloudlog'); ?></h3>
<?php $this->load->view('layout/messages'); ?>
<form method="post" action="<?php echo site_url('user/login'); ?>" name="users">
<?php $this->form_validation->set_error_delimiters('', ''); ?>
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
@ -51,7 +54,6 @@ body {
<div>
<p><small><a class="" href="<?php echo site_url('user/forgot_password'); ?>"><?php echo lang('account_forgot_your_password'); ?></a></small></p>
</div>
<?php $this->load->view('layout/messages'); ?>
<button class="w-100 btn btn-info" type="submit"><?php echo lang('account_login'); ?> →</button>
</form>
</div>