<% with $ForgotPasswordForm %>
    <section class="contact-us-page">
        <div class="container">
            <div class="row">
                <div class="col-sm-8">
                    <h1>Forgot Password</h1>
                    <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 class="form-group">
                            <% with $Fields.dataFieldByName('Email') %>
                                <label for="{$ID}">{$Title}</label>
                                <input type="{$Type}" name="{$Name}" id="{$ID}" value="{$Value}" class="form-control"/>
                                <% if $Message %>
                                    <div class="{$MessageType}">{$Message}</div>
                                <% end_if %>
                            <% end_with %>
                        </div>

                        <div>
                            <button type="submit" class="btn btn-yellow">Submit</button>
                        </div>

                        {$HiddenFields}
                    </form>
                </div>
            </div>
        </div>
    </section>
<% end_with %>
