Eshop-Laravel/storage/framework/views/449d3d63566c2ca430dfaf5b6f645a7de926f459.php

54 lines
1.8 KiB
PHP
Raw Normal View History

2019-10-18 09:25:37 +00:00
<?php
$menu = App\Menu::all()->toArray();
?>
<?php $__env->startSection('main_content'); ?>
<h1>change pass!!</h1>
<?php if($errors -> any() ): ?>
<div class="alert alert-danger">
<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; ?>
<form method="post" action="<?php echo e(url('user/changePass')); ?>" class="content-block">
<?php echo e(csrf_field()); ?>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="password_old" class="form-label">Old password</label>
<input name="password_old" id="password_old" type="password" class="form-control">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="password" class="form-label">New password</label>
<input name="password" id="password" type="password" class="form-control">
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="password_confirmation" class="form-label">Retype new password</label>
<input name="password_confirmation" id="password_confirmation" type="password" class="form-control">
</div>
</div>
</div>
<!-- /.row-->
<div class="text-center">
<button type="submit" class="btn btn-primary"><i class="fa fa-save"></i>Change password</button>
</div>
</form>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>