HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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>