<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Reset Password</title>
  <link rel="stylesheet" href="/common/css/bootstrap.min.css">
</head>
<body>
<div class="container">
  <h4>Reset Password</h4>
</div>
<div class="container">
  <form method="post" action="/account/password/reset">
    <div class="form-group">
      {{#if error}}
        <div class="row">
          <div class="col-md-12">
            <p class="text-danger"><strong>{{error}}</strong></p>
          </div>
        </div>
      {{/if}}
      <div class="row">
        <div class="col-md-12">
          {{#if multiuser}}
            <p>Please enter your account name. A password reset link will be
              emailed to the address you provided during account registration.</p>

            <label for="username">Account Name:</label>
            <input type="text" class="form-control" name="username" id="username"
                   placeholder="alice" />
          {{else}}
            <p>A password reset link will be
              emailed to the address you provided during account registration.</p>
          {{/if}}
        </div>
      </div>
    </div>

    <div class="form-group">
      <div class="row">
        <div class="col-md-2">
          <button type="submit" class="btn btn-primary">Send Reset Link</button>
        </div>

        <div class="col-md-4">
          <div>Don't have an account?
            <a class="btn btn-xs btn-default"
               href="/register{{#if returnToUrl}}?returnToUrl={{{returnToUrl}}}{{/if}}">Register</a>
          </div>
        </div>
      </div>

      <input type="hidden" name="returnToUrl" value="{{{returnToUrl}}}" />
    </div>
  </form>
</div>
</body>
</html>
