52 lines
1.5 KiB
PHP
52 lines
1.5 KiB
PHP
|
|
@php
|
|
$menu = App\Menu::all()->toArray();
|
|
@endphp
|
|
|
|
@extends('master')
|
|
@section('main_content')
|
|
|
|
|
|
<h1>change pass!!</h1>
|
|
@if ($errors -> any() )
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
|
|
@endif
|
|
<form method="post" action="{{url('user/changePass')}}" class="content-block">
|
|
{{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>
|
|
|
|
@endsection
|