<div>
     <div class="hero is-small is-danger mb-4">
        <div>[[+loginfp.errors]]</div>
    </div>
    <div>
        <form action="[[~[[*id]]]]" method="post">
            <p>Bitte fülle eines der beiden Felder aus, um dein Passwort zurückzusetzen!</p>
            <fieldset>
                <div class="columns">
                    <div class="column">
                        <label class="label">[[%login.forgot_password]]</label>
                        <div class="field">
                            <p class="control has-icons-left has-icons-right">
                                <input class="input" type="text" name="username" placeholder="[[%login.username]]" value="[[+loginfp.post.username]]">
                                <span class="icon is-small is-left"><ion-icon name="person-circle-outline"></ion-icon></span>
                            </p>
                        </div>
                    </div>
    
                    <div class="column">
                        <label class="label">[[%login.or_forgot_username]]</label>
                        
                        <div class="field">
                            <p class="control has-icons-left">
                                <input class="input" type="text" name="email" value="[[+loginfp.post.email:escape]]" placeholder="[[%login.email]]">
                                <span class="icon is-small is-left"><ion-icon name="lock-closed-outline"></ion-icon></span>
                            </p>
                        </div>
        
                        <input class="returnUrl" type="hidden" name="returnUrl" value="[[+loginfp.request_uri]]" />
        
                        <div class="field">
                            <div class="buttons is-right">
                                <input class="loginFPService" type="hidden" name="login_fp_service" value="forgotpassword" />
                                <input class="button" type="submit" name="login_fp" value="[[%login.reset_password]]" />
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
</div>
