
<?= $this->element('page_top', array('title' => __('View'), 'permissions' => $user_permission)); ?>

<div class="box box-primary">
    <!-- /.box-header -->
    <div class="box-body">
        <div class="row">
            <div class="col-md-12  main-view-section">

                <div id="basic_info_div">
                    <div class="col-md-6 view-section">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th> <span><?= __('Name') ?></span> </th>
                                <th> <?= h($check_list->name)?> </th>

                            </tr>
                            <tr>
                                <th> <span><?= __('Description') ?></span> </th>
                                <th> <?= h($check_list->description)?> </th>

                            </tr>
                            <tr>
                                <th> <span><?= __('Form Sequence') ?></span> </th>
                                <th> <?= (FORM_SEQUENCE)[$check_list['sequence']]?> </th>

                            </tr>
                            <tr>
                                <th> <span><?= __('Status') ?></span> </th>
                                <th> <?= h(json_decode(MEMBER_STATUS)[$check_list['status']]) ?> </th>

                            </tr>

                            <tr>
                                <th> <span><?= __('Created On') ?></span></th>
                                <th>   <span><?= h($check_list->created_at)?></span></th>
                            </tr>

                            </thead>

                        </table>

                    </div>


                    <div class="col-md-12 col-offset-12 back-btn-section">
                        <a href="<?php echo $this->Url->build('/check-list'); ?>"  class="btn btn-success btn-flat btn-orange-color" id="back-btn">
                            <i class="fa fa-arrow-left"></i>
                            <?php echo __('Back'); ?>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
