<script type="text/javascript" src="<?php echo base_url(); ?>back_end_resource/manage_admin_video/add_admin_video.js"></script>
<input type="hidden" id="baseUrl" value="<?php echo base_url(); ?>">
<div class="col-sm-10">
    <div class="row gray_ttc">
        <div class="col-sm-12 row"><br>
            <nav class="text-justify">
                <div class="col-sm-12" style="padding: 0">
                    <span class="col-sm-4 col-sm-offset-4" title="Video Information" style="padding: 0">
                        <span class="text-left label" style="color: #8CC73F;font-size: 18px; font-family: Times New Roman; font-weight: bold">Add Video Information</span>
                    </span>
                </div>
            </nav>
        </div>
        <div class="col-sm-12"><hr></div>
        <div class="col-sm-12"><br></div>
        <div class="col-sm-12">
        <?php
            $url = 'add-admin-video';
            echo form_open_multipart($url, 'class="cmxform"  name="add_admin_video_form"');
        ?>
        <div class="col-sm-12" id="add_video_area" >
            <script>
                addVideoForm('<?php echo $video_counter; ?>');
            </script>
        </div>
        <div class=" col-sm-12"><br></div>
        <div class="col-sm-4">
            <div class="form-group col-sm-6 pull-right">
                <input type="hidden"
                    name="all_video_form_counter"
                    id="allVideoFormCounter" value="<?php echo $video_counter; ?>">
                <input type="hidden" 
                       id="all_manage_video_id" 
                       name="all_manage_video_id" value="">
                <input type="hidden" 
                       id="all_work_file_id" 
                       name="all_work_file_id" value="">
                <a type="button" 
                   class="btn btn-sm btn-success" 
                   onclick="addMoreVideo('<?php echo base_url() . 'add-single-admin-video' ?>')" 
                   ><i class="fa fa-file-video-o" title="Add More Video"></i></a>
            </div>
        </div>
        <div class="col-sm-8">
            <div class="form-group col-sm-6 pull-Left">
                <input type="submit" 
                   class="btn btn-sm btn-success" 
                   id="save_video_workfile"
                   name="save_video_workfile"
                   title="Add Video/Workfile"
                   value="&#xf03d;"
                   style="font-family: fontawesome">
            </div>
        </div>
        <?php echo form_close(); ?>
        </div>
    </div>
</div>

<link href="<?php echo base_url();?>back_end_resource/manage_admin_video/add_admin_video.css" rel="stylesheet" type="text/css"/>