<div class="row" style="margin:20px;">
<div class="col-12 offset-md-4 col-md-4">
    <div class="card panel-info shadow-sm rounded">
        <div class="card-header">
            <span class="h3 fcs-card-title">[% $user->gettext('Passwort zurücksetzen')%]</span>
        </div>
        <div class="card-body">
            <div class="card panel-info shadow-sm rounded">
                <div class="card-body">
                    [% $user->gettext('Bitte geben Sie Ihr neues Passwort ein.')%]
                </div>
            </div>
            <div class="card panel-info shadow-sm rounded">

                <div class="card-body">
                    [% if $success %]
                        <div class='alert alert-success'>
                            [% $success%]
                        </div>
                    [% /if %]
                    [% if $Tools->FCS_Count($errors) %]
                        <div class='alert alert-danger'>
                            <ul>
                                [% foreach from=$errors item =$error%]
                                    <li>
                                        [% $error %]
                                    </li>
                                [% /foreach %]
                            </ul>

                        </div>
                    [% /if %]
                    <form class="form-horizontal form-label-left" method = "post" action="index.php?module=login&event=resetPassword&username=[% $username %]&token=[% $token %]">
                        <input type="hidden" name="save" value="1">
                        <div class="form-group row mb-3">
                            <label class="col-sm-4 control-label">[% $user->gettext('Neues Passwort')%]</label>
                            <div class='col-sm-8'>
                                <input type='password' required="required" name='password' class='form-control'>
                            </div>

                        </div>
                        <div class='form-group row mb-3'>
                            <label class="col-sm-4 control-label">[% $user->gettext('Passwort bestätigen')%]</label>
                            <div class='col-sm-8'>
                                <input type='password' required="required" name='password_confirm' class='form-control'>
                            </div>
                        </div>
                        <input type="submit" class="btn btn-outline-primary" value="[% $user->gettext('Passwort zurücksetzen')%]">
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>
</div>      
