diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-01-25 14:56:02 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-01-25 14:56:02 -0500 |
commit | 9383a15af699ede77142d040b65118e15754a2ca (patch) | |
tree | b550b5adf5bcf8f5a8793c188cc5630f26a27d49 /templates/user_login.php |
First commit
Diffstat (limited to 'templates/user_login.php')
-rw-r--r-- | templates/user_login.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/user_login.php b/templates/user_login.php new file mode 100644 index 00000000..0bbd48a1 --- /dev/null +++ b/templates/user_login.php @@ -0,0 +1,20 @@ +<div class="page-header"> + <h1><?= t('Sign in') ?></h1> +</div> + +<?php if (isset($errors['login'])): ?> + <p class="alert alert-error"><?= Helper\escape($errors['login']) ?></p> +<?php endif ?> + +<form method="post" action="?controller=user&action=check"> + + <?= Helper\form_label(t('Username'), 'username') ?> + <?= Helper\form_text('username', $values, $errors, array('autofocus', 'required')) ?><br/> + + <?= Helper\form_label(t('Password'), 'password') ?> + <?= Helper\form_password('password', $values, $errors, array('required')) ?> + + <div class="form-actions"> + <input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/> + </div> +</form>
\ No newline at end of file |