<div class="modal-content">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h4 class="modal-title"><strong><i class="fa fa-edit"></i> <?php echo e(trans('core.editAdmin')); ?></strong></h4>
    </div>
    <?php echo Form::open(['class'=>'form-horizontal ajax_form','method'=>'POST','id'=>'edit_form']); ?>

    <div class="modal-body" id="edit-modal-body">
        <div class="portlet-body form">

            <div id="error_edit"></div>
            <div class="form-body">

                <div class="form-group">
                    <label class="col-md-4 control-label"><?php echo e(trans('core.name')); ?>: <span class="required">
                            * </span>
                    </label>

                    <div class="col-md-8">
                        <input type="text" class="form-control" name="name" placeholder="<?php echo e(trans('core.name')); ?>" value="<?php echo e($admin->name); ?>">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-4 control-label"><?php echo e(trans('core.email')); ?>: <span class="required">
                            * </span>
                    </label>

                    <div class="col-md-8">
                        <input type="text" class="form-control" name="email" placeholder="<?php echo e(trans('core.email')); ?>" value="<?php echo e($admin->email); ?>">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-4 control-label"><?php echo e(trans('core.approverLevel')); ?>: <span class="required">
                            * </span>
                    </label>

                    <div class="col-md-8">
                        <select class="form-control select floating" name="approver_level">
                            <?php if($admin->approver_level=='level_1'): ?>
                            <option value="level_1" selected="selected">Level 1</option>
                            <?php else: ?>
                            <option value="level_1">Level 1</option>
                            <?php endif; ?>
                            <?php if($admin->approver_level=='level_2'): ?>
                            <option value="level_2" selected="selected">Level 2</option>
                            <?php else: ?>
                            <option value="level_2">Level 2</option>
                            <?php endif; ?>
                            
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-4 control-label"><?php echo e(trans('core.password')); ?>:
                    </label>

                    <div class="col-md-8">
                        <input type="password" class="form-control" name="password" placeholder="<?php echo e(trans('core.password')); ?>">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-4 control-label"><?php echo e(trans('core.confirmPassword')); ?>:
                    </label>

                    <div class="col-md-8">
                        <input type="password" class="form-control" name="password_confirmation" placeholder="<?php echo e(trans('core.confirmPassword')); ?>">
                    </div>
                </div>


            </div>


        </div>
    </div>
    <div class="modal-footer">
        <div class="form-actions">
            <div class="row">
                <div class="col-md-offset-3 col-md-9">
                    <button type="button" id="submitbutton_edit" onclick="updateAdminSubmit(<?php echo e($admin->id); ?>);return false;" class=" btn green"><i class="fa fa-edit"></i> <?php echo e(trans('core.btnSubmit')); ?></button>

                </div>
            </div>
        </div>
    </div>
    <?php echo Form::close(); ?>

    <!-- END EXAMPLE TABLE PORTLET-->
</div><?php /**PATH /home/dmwachinga/projects/hr/KodiHRM/resources/views/admin/adminusers/edit.blade.php ENDPATH**/ ?>