<?php $__env->startSection('content'); ?>
    <div class="content-heading">
        <div>
            Pengaturan User
        </div>
    </div>
    <div class="container-fluid">
        <div class="col-md-6 offset-md-3">
            <div class="card">
                <div class="card-header">
                    <div class="card-title">
                        Edit Jenis Kelas
                        <div class="float-right">
                            
                        </div>
                    </div>
                </div>
                <div class="card-body">
					<form action="<?php echo e(route('user.update', $user->hashid)); ?>" method="POST">
						<?php echo method_field('PUT'); ?>
						<?php echo csrf_field(); ?>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">Nama</label>
							<div class="col-sm-7">
								<input autofocus class="form-control" required type="text" name="nama" value="<?php echo e(old('nama') ? old('nama'):$user->nama); ?>" placeholder="" />
								<?php if($errors->has('nama')): ?>
								<span class="invalid-feedback">
									<strong><?php echo e($errors->first('nama')); ?></strong>
								</span>
								<?php endif; ?>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">Email</label>
							<div class="col-sm-7">
								<input autofocus class="form-control" required type="text" name="email" value="<?php echo e(old('email') ? old('nama'):$user->email); ?>" placeholder="" />
								<?php if($errors->has('email')): ?>
								<span class="invalid-feedback">
									<strong><?php echo e($errors->first('email')); ?></strong>
								</span>
								<?php endif; ?>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">Username</label>
							<div class="col-sm-7">
								<input autofocus class="form-control" required type="text" name="username" value="<?php echo e(old('username') ? old('nama'):$user->username); ?>" placeholder="" />
								<?php if($errors->has('username')): ?>
								<span class="invalid-feedback">
									<strong><?php echo e($errors->first('username')); ?></strong>
								</span>
								<?php endif; ?>
							</div>
						</div>
						<div class="form-group row">
							<label class="col-sm-3 col-form-label text-right">Password</label>
							<div class="col-sm-7">
								<input autofocus class="form-control" type="password" name="password" value="<?php echo e(old('password')); ?>" placeholder="" />
								<?php if($errors->has('password')): ?>
								<span class="invalid-feedback">
									<strong><?php echo e($errors->first('password')); ?></strong>
								</span>
								<?php endif; ?>
								<span style="color: red; font-size: 12px">*kosongkan password jika tidak ingin merubah</span>
							</div>
						</div>
						<div class="col-sm-12">
							<div class="form-group row">
								<div class="col-xl-12 text-center">
									<a href="<?php echo e(route('user.index')); ?>" class="btn btn-secondary">Kembali</a>
									<button class="btn btn-primary mb-2 mt-2" type="submit">Simpan</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\PROGRAM_JANGAN_DIHAPUS\xampp73\htdocs\idam_tech\Laravel6\batik\resources\views/pages/pengguna/edit.blade.php ENDPATH**/ ?>