@**
 * Copyright (c) 2013 Kaj Magnus Lindberg
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *@

@(tpi: debiki.SiteTpi, xsrfToken: String)


@css = @{("""
input[type="text"] {
  width: 440px;
  max-width: 90%;
  padding: 5px;
}
""")}


@* For now only, use `createsite.main`.  [8KABRP02] *@
@views.html.createsite.main(tpi, css = css) {

<h1>Reset Password</h1>

  <div class='row'>
    <div class="col-sm-12">

      <br>
      <p>Please specify the email address or username for which to reset the password:</p>

      <form action="@controllers.routes.ResetPasswordController.handleResetPasswordForm"
          class="form" autocomplete="off" method="POST">

        <input name='dw-fi-xsrf' type='hidden' value='@xsrfToken'>

        <input type="text" id="e2eRPP_emailI" name="email" value=""><br>

        <br>
        <button type="submit" class="btn btn-default" id="e2eRPP_SubmitB">Submit</button>
      </form>

    </div>
  </div>

}

