<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="card shadow-sm border-bottom-primary">
            <div class="card-header bg-white py-3">
                <div class="row">
                    <div class="col">
                        <h4 class="h5 align-middle m-0 font-weight-bold text-primary">
                            Form Import
                        </h4>
                    </div>
                    <div class="col-auto">
                        <a href="<?= base_url('jenis') ?>" class="btn btn-sm btn-secondary btn-icon-split">
                            <span class="icon">
                                <i class="fa fa-arrow-left"></i>
                            </span>
                            <span class="text">
                                Kembali
                            </span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="card-body">
                <?= $this->session->flashdata('pesan'); ?>
                <?= form_open_multipart('impor/add/'.$id_stts); ?>
                <div class="row form-group">
                    <label class="col-md-3 text-md-right" for="file_impor">Upload File</label>
                    <div class="col-md-9">
                        <input type="file" name="file_impor" id="file_impor">
                        <?= form_error('file_impor', '<small class="text-danger">', '</small>'); ?>
                    </div>
                </div>
                <div class="row form-group">
                    <div class="col-md-9 offset-md-3">
                        <button type="submit" class="btn btn-primary">Simpan</button>
                    </div>
                </div>
                <?= form_close(); ?>

                <!-- format dokumen excel format -->
                <hr>
                <div class="row form-group">
                    <div class="col-md-9 offset-md-3">
                        Download Format Impor : 
                        <a href="<?= base_url('impor/excel_template/'.$stts) ?>" class="btn btn-sm btn-success">
                            <i class="fa fa-file-excel-o"></i> Download
                        </a>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>