
<?php echo $__env->make('admin.includes.errors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->startSection('content'); ?>
<div class="container">
<?php echo $__env->make('admin.posts.mylink', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<div class="card-header">
    Edit your profile
</div>
<div class="card-body">
    <form action="<?php echo e(route('user.profile.update')); ?>" method="post" enctype="multipart/form-data">
        <?php echo e(csrf_field()); ?>

        <div class="form-group">
            <label for="name">Username</label>
            <input type="text" name="name" value="<?php echo e($user->name); ?>" class="form-control">
        </div>
        <div class="form-group">
            <label for="email">Email</label>
            <input type="text" name="email" value="<?php echo e($user->email); ?>" class="form-control">
        </div>
        <div class="form-group">
            <label for="password">Passsword</label>
            <input type="password" name="password" class="form-control">
        </div>
        <div class="form-group">
            <label for="contact">Primary Contact</label>
            <input type="text" name="contact" value="<?php echo e($user->contact); ?>" class="form-control">
        </div>
        <div class="form-group">
            <button class="btn btn-success" type="submit">
                Update profile
            </button>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>