  <?php $__env->startSection('content'); ?>
<?php Fun::lang()?>
    <div class="page">
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                <?php if(count($errors) > 0): ?>
                <div class="alert-message alert-danger">
                    <strong>Whoops!</strong> There were some problems with your input.
                    <br>
                    <br>
                    <ul>
                        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li><?php echo e($error); ?></li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                </div>
                <?php endif; ?>
                <div class="box-body table-responsive">

                    <div class="row">
                        <div class="col-md-12 col-sm-12 col-xs-12">
                            <ul class="nav nav-tabs">
                                <li class="active"><a class="active show" href="#personal_info" data-toggle="tab">Profile Picture</a></li>
                                <li><a href="#place_of_birth" data-toggle="tab">Security</a></li>

                            </ul>
                            <div class="tab-content">
                                <div class="tab-pane active" id="personal_info">
                                    <div class="personal-info">
                                        <form action="<?php echo e(route('administrator.change.profile_images')); ?>" enctype="multipart/form-data" method="POST">

                                            <div class="col-sm-2">

                                                <div class="col-xs-4 col-sm-4 col-md-4">
                                                    <div class="box">
                                                        <div class="m-card-profile">

                                                            <div class="m-card-profile__pic">
                                                                <div class="m-card-profile__pic-wrapper">
                                                                    <input type="hidden" name="hidden_image_name" value="<?php echo e(Auth::user()->avatar); ?>">
                                                                    <img src='/assets/images/resize/<?php echo e(Auth::user()->avatar); ?>'>
                                                                </div>
                                                                <div class="form-group m-form__group">
                                                                    <div class="custom-file">
                                                                        <input type="file" name="image" class="custom-file-input" id="customFile">

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

                                                <?php echo e(csrf_field()); ?>

                                                <input type="text" name="user_id" hidden="" value="<?php echo e(auth::user()->id); ?>">
                                            </div>
                                            <div class="col-sm-12 col-xs-12">
                                                <div class="form-group">
                                                    <input type="submit" value="Save" class="button_primary pull-right">
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                                <div class="tab-pane " id="place_of_birth">
                                    <div class="personal-info">
                                        <form action="<?php echo e(route('administrator.change.change_password')); ?>" method="POST" id="form_login">
                                            <?php echo csrf_field(); ?>

                                            <div class="form-group col-sm-12 col-xs-12">

                                                <label class="required">Password</label>
                                                <?php echo Form::password('password', array('placeholder' => 'Old Passowrd','class' => 'form-control','autocomplete'=>'of')); ?>

                                               
                                    </div>
                                    <div class="form-group col-sm-12 col-xs-12">

                                        <label class="required">New Password </label>
                                        <?php echo Form::password('new_password', array('placeholder' => 'New Password','class' => 'form-control','autocomplete'=>'of')); ?>

                                       
                                </div>

                                <div class="col-sm-12 col-xs-12">
                                    <div class="form-group">
                                        <input type="submit" value="Save" class="button_primary pull-right">
                                    </div>
                                </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <?php $__env->stopSection(); ?>
<?php echo $__env->make('adminlte::page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>