<?php
/*
 * *************************************************
 * Copyright (C) 2020 Earworks.                    *
 * Codeigniter Project Template Modification       *
 * Please contact our email for more information : *
 * contact@earworks.co.id                          *
 * *************************************************
 */

defined('BASEPATH') OR exit('No direct script access allowed');
Ci::set_title('Login');
?>
<?= form_open('', ['class' => 'login-form']) ?>
<span class="login-title">
    LOGIN
    <?php // config_item('app_name'); ?>
</span>
<div class="form-group">
   <?= form_input('username', $data['username'], [
        'class' => 'form-control',
        'autocomplete' => 'off',
        'placeholder' => lang('username')
    ]);
    ?>
</div>
<div class="form-group">
    <?= form_password('password', null, [
        'class' => 'form-control',
        'autocomplete' => 'off',
        'placeholder' => lang('password')
    ]);?>
</div>
<div class="form-actions">
    <input type="submit" name="login" value="Login" class="btn green uppercase">
    <label class="rememberme check mt-checkbox mt-checkbox-outline">
        <input type="checkbox" name="rememberme" value="yes" checked="checked" class="form-control">
        <?= lang("rememberMe") ?>      
        <span></span>
    </label>
</div>
<?= form_close(); ?>