<?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');
$url = ($redir) ? base_url('login/index?redir=' . urlencode($redir)) : 'login/index';
Ci::set_title('VERIFIKASI');
?>
<div class="row">
    <div class="col-sm-8 col-sm-offset-2">
        <?= form_open($url, ['class' => 'mini-form', 'style' => 'margin:0px auto !important;padding:0px 15px;']) ?>
<div class="modal-body">
    <p>Untuk mendapatkan Kode QR anda kembali, silahkan masukkan nomor HP yang anda gunakan untuk mendaftar.</p>
    <!--<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>-->
    <div class="form-group">
        <div class="input-group">
            <span class="input-group-addon">+62</span>
            <?=
            form_input('phone', $data['phone'], [
                'class' => 'form-control',
                'autocomplete' => 'off',
                'placeholder' => lang('phone')
            ]);
            ?>
        </div>
    </div>
<!--    <div class="form-group">
        <?=
        form_password('password', null, [
            'class' => 'form-control',
            'autocomplete' => 'off',
            'placeholder' => lang('password')
        ]);
        ?>
        <div class="form-group text-right">
            <a href="<?= base_url('login/forgot') ?>" class="btn btn-link"><?= lang('forgot_password') ?></a>
        </div>
    </div>-->
    <div class="form-group text-right">
        <button type="submit" class="btn btn-submit btn-block"> Login </button>
        <!--<a href="<?= base_url('login/register') ?>"  class="btn btn-link btn-block"><?= lang('create_new_accout') ?></a>-->
    </div>
</div>
<?= form_close(); ?>
    </div>
</div>