<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
   <section class="content-header">
      <div class="container-fluid">
         <div class="row mb-2">
            <div class="col-sm-6">
               <h4><?php echo htmlspecialchars($title) ?></h4>
            </div>
            <div class="col-sm-6">
               <ol class="breadcrumb float-sm-right">
                  <li class="breadcrumb-item"><a href="<?php echo base_url() ?>dashboard">Home</a></li>
                  <li class="breadcrumb-item active"><?php echo htmlspecialchars($title) ?></li>
               </ol>
            </div>
         </div>
      </div>
      <!-- /.container-fluid -->
   </section>

   <section class="content">
      <div class="container">
         <div class="row"> 
            <div class="col-md-12 col-lg-12">
               <div class="container-fluid">
                  <?php echo form_open_multipart('admin/career/add_job'); ?>
                  <div class="card card-default">
                     <div class="card-header">
                     <h3 class="card-title">Add Job</h3>
                  </div>
                     <div class="card-body">

                        <div class="tab-content">

                           <!--Application Details-->
                           <div class="tab-pane active" id="general_setting">
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Add Job Title <span class="text-danger">*</span> </label>
                                 <div class="col-sm-12">
                                    <input type="text" name="title" class="form-control" id="inputName" placeholder="Enter Job Title" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Category <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <select type="text" name="category" class="form-control"required="required">
                                      <option value="">Select Category</option>
                                       <?php foreach ($get_all_category as $key => $category):?>
                                        <option value="<?php echo $category->id ?>"><?php echo $category->category_name ?></option>
                                       <?php endforeach; ?>
                                    </select>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Employment Status <span class="text-danger">*</span><span style="font-size: 11px;">[Use comma (,) to seperate statuses. eg: full-time, part-time, contractual]</span></label>
                                 <div class="col-sm-12">
                                    <input type="text" name="employment_status" class="form-control" id="inputName" placeholder="Enter Employment Status" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Vacancy <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <input type="number" name="vacancy" class="form-control" id="inputName" placeholder="Enter Number of Vacancy" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Application Deadline <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <input type="date" name="application_deadline" class="form-control" id="inputName" placeholder="Enter Application Deadline" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Experience in Years <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <input type="text" name="experience_year" class="form-control" id="inputName" placeholder="Enter Work Experience in Years" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Job Responsibilities <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="job_responsibilities" class="text-editor" id="inputName" required="required"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Educational Requirements <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="educational_requirements" class="text-editor" id="inputName" required="required"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Experience Requirements <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="experience_requirements" class="text-editor" id="inputName" required="required"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Additional Requirements </label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="additional_requirements" class="text-editor" id="inputName"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Salary</label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="salary" class="text-editor" id="inputName"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Benefits</label>
                                 <div class="col-sm-12">
                                    <textarea type="text" name="benefits" class="text-editor" id="inputName"></textarea>
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Job Location <span class="text-danger">*</span></label>
                                 <div class="col-sm-12">
                                    <input type="text" name="job_location" class="form-control" id="inputName" placeholder="Enter Job Location" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Email<span style="font-size: 12px;">[Where applicatints will send their CVs)] <span class="text-danger">*</span></span></label>
                                 <div class="col-sm-12">
                                    <input type="text" name="email" class="form-control" id="inputName" placeholder="Enter Email Address" required="required">
                                 </div>
                              </div>
                              <div class="form-group row">
                                 <label for="inputName" class="col-sm-12 col-form-label">Read Before Apply</label>
                                 <div class="col-sm-12">
                                    <textarea type="text-editor" name="read_before_apply" class="text-editor" id="inputName"></textarea>
                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                     
                     <div class="form-group row">
                        <div class="offset-sm-2 col-sm-10">
                           <button style="float: right;" type="submit" class="btn btn-success setting-submit" name="submit">Save</button>
                        </div>
                     </div>
                     <?php echo form_close(); ?>
                  </div>
               </div>
            </div>
           </div>
         </div>
      </div>
   </div>
   
</section>
</div>
<!-- /.content-wrapper -->
