<div class="row">
    <div class="col-sm-12 col-md-12">
        <div class="panel panel-bd lobidrag">
            <div class="panel-heading">
                <div class="panel-title">
                    <h4><?php echo(!empty($title) ? $title : null) ?></h4>
                </div>
            </div>
            <div class="panel-body">
                <?php echo form_open_multipart('employeequery/Query/create_query' , 'class = "form-inner"') ?>
                <div class="form-group row">
                    <label for="title" class="col-xs-3 col-form-label"><?php echo "Title" ?> *</label>
                    <div class="col-xs-9">
                        <input type="text" name="title" id="title" class="form-control" >
                    </div>
                </div>
                <div class="form-group row">
                    <label for="your_query" class="col-xs-3 col-form-label"><?php echo "Your Query" ?> *</label>
                    <div class="col-xs-9">
                        <textarea name="your_query" id="your_query" class="form-control tinymce"
                                  placeholder="<?php echo "Type your Query" ?>" rows="5"></textarea>
                    </div>
                </div>

                <div class="form-group row">
                    <label for="qury_attachment" class="col-xs-3 col-form-label"><?php echo "Attachment" ?> </label>
                    <div class="col-xs-9">
                        <input name="qury_attachment" type="file" class="form-control" id="qury_attachment"
                               placeholder="<?php echo "Attachment" ?>">
                    </div>
                </div>
                <?php foreach($employ_data as $emp){ ?>
                    <input type="hidden" name="supervisor_id" value="<?php echo $emp->super_visor_id ?>">
                    <input type="hidden" name="employee_id" value="<?php echo $emp->employee_id ?>">
                <?php } ?>
                <div class="form-group form-group-margin text-right">
                    <button type="reset" class="btn btn-primary w-md m-b-5"><?php echo display('reset') ?></button>
                    <button type="submit" class="btn btn-success w-md m-b-5" onclick="return confirm('<?php echo "Are you sure to submit. You cannot edit after submission." ?>') "><?php echo display('send') ?></button>
                </div>
                <?php echo form_close()?>
            </div>

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