<!--main content start-->
<section id="main-content">
    <section class="wrapper">
        <div class="row">
            <div class="col-sm-12">
                <?= form_open(site_url('cv-pdf'), 'role="form"'); ?>
                <section class="panel">
                    <header class="panel-heading">
                        Modification du CV 
                        <span class="tools pull-right">
                            <a href="javascript:;" class="fa fa-chevron-down"></a>
                        </span>
                    </header>
                    <div class="panel-body">
                        <div class="row">                          
                            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                                
                                <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                                    <div class="form-group">
                                        <label class="control-label">Miniature</label>
                                        <div class="fileupload fileupload-new">
                                            <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
                                                <a href="<?= base_url().'assets/uploads/'.$cv['resource']['name'];?>" target="_blank"><img src="<?= base_url()?>assets/uploads/pdf-icons.png" alt="PDF CV" width="150px" height="150px" /></a>
                                            </div>
                                            <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
                                            <div>
                                                <span class="btn btn-white btn-file" style="border-color: rgba(150, 160, 180, 0.3);">
                                                    <span class="fileupload-new thumbnail-load"><i class="fa fa-paper-clip"></i>Charger</span>
                                                    <span class="fileupload-exists thumbnail-change"><i class="fa fa-undo"></i>Changer</span>
                                                </span>
                                                <a class="btn btn-danger fileupload-exists thumbnail-delete" data-dismiss="fileupload"><i class="fa fa-trash"></i> Supprimer</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <div class="row">
                                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-right">
                                    <input id="file" name="resource" type="hidden" value="" >
                                    <?= form_submit('submit', 'Modifier', 'class="btn btn-success btn-sm"'); ?>
                                </div>
                            </div>
                        </div>
                </section>
                <?= form_close(); ?>
            </div>
        </div>
        <!-- page end-->
    </section>
</section>
<!--main content end-->