
<div class="modal fade" id="md_update_department" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <?php echo e(Form::open(array('route' => 'department.update', 'id' => 'form_update_department', 'class' => 'cls_form'))); ?>

  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Update Department</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true"></span>
        </button>
      </div>
  <div class="modal-body ">
        <div class = "card">
          <div class ="card-body form-fieldset">
                               <div class="row">
          <div class="col-sm-6">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$department_label_list['department_code']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($department_label_list['department_code'],":message")); ?></small>
            <div class="input-group mb-3">
             
              <?php echo e(Form::Text($department_label_list['department_code'], '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => ucwords(str_replace('_',' ',$department_label_list['department_code'])), 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default','id' => 'form_add_branch'])); ?>

            </div>
          </div>

          <div class="col-sm-6">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$department_label_list['department_name']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($department_label_list['department_name'],":message")); ?></small>

            <div class="input-group mb-3">
            
              <?php echo e(Form::Text($department_label_list['department_name'], '', ['class' => 'form-control form-control-sm  cls_fullname', 'placeholder' => ucwords(str_replace('_',' ',$department_label_list['department_name'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default'])); ?>

            </div>
          </div>

      
          <div class="col-sm-12">
               <label class="label-color"> <?php echo e(ucwords(str_replace('_',' ',$department_label_list['department_description']))); ?>: <i style = "color:red;">*</i></label>
            <small class="form-errors pull-right req" value="*"><?php echo e($errors->first($department_label_list['department_description'],":message")); ?></small>

            <div class="input-group mb-3">
             
              <?php echo e(Form::Textarea($department_label_list['department_description'], '', ['class' => 'form-control form-control-sm  cls_required', 'placeholder' => ucwords(str_replace('_',' ',$department_label_list['department_description'])) , 'aria-label' => 'Default', 'aria-describedby' => 'inputGroup-sizing-default' ,'rows'=>'3'])); ?> 

            </div>
          </div>
        </div>
          </div>
        </div> 
      </div>
      <div class="modal-footer">
        <input type="hidden" name="department" >
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        <button type="submit" class="btn btn-primary cls_submit" content="update department">Update Department</button>
      </div>
    </div>
  </div>
  <?php echo e(Form::close()); ?>

</div>
<?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/hr/department/modals/update_department.blade.php ENDPATH**/ ?>