File: D:/HostingSpaces/SBogers10/hours.komma.pro/resources/views/partials/resetPassword.blade.php
<div class="col-lg-12 pull-right">
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
<form class="form-horizontal" method="POST" action="/users/{{ $user->id }}/change-password">
@if(!Auth::user()->isAdmin())
<div class="form-group{{ $errors->has('currentPass') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">Huidig wachtwoord</label>
<div class="col-md-6">
<input id="currentPass" type="password" class="form-control" name="currentPass"
value="{{ $email ?? old('currentPass') }}" required autofocus>
@if ($errors->has('currentPass'))
<span class="help-block">
<strong>{{ $errors->first('currentPass') }}</strong>
</span>
@endif
<hr>
</div>
</div>
@endif
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password" class="col-md-4 control-label">Nieuw wachtwoord</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label for="password-confirm" class="col-md-4 control-label">Bevestig wachtwoord</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control"
name="password_confirmation" required>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Verander wachtwoord
</button>
</div>
</div>
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="_method" value="PUT">
</form>
</div>
</div>