<% with $ForgotPasswordForm %>
    <form {$FormAttributes} novalidate>
        <% if $IsSuccess %>
            <p>An email with a link to reset your password has been emailed to you.</p>
        <% end_if %>

        <% if $Message %>
            <p class="{$MessageType}">{$Message}</p>
        <% end_if %>

        <div>
            <% with $Fields.dataFieldByName('Email') %>
                <label for="{$ID}">{$Title}</label>
                <input type="{$Type}" name="{$Name}" id="{$ID}" value="{$Value}"/>
                <% if $Message %>
                    <div class="{$MessageType}">{$Message}</div>
                <% end_if %>
            <% end_with %>
        </div>

        <div>
            <button type="submit">Submit</button>
        </div>

        {$HiddenFields}


    </form>
<% end_with %>
