<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Delete Account</title>
  <link rel="stylesheet" href="/common/css/bootstrap.min.css">
  <script></script>
</head>
<body>
<div class="container">
  <h4>Delete Account</h4>
</div>
<div class="container">
  <form method="post" action="/account/delete">
    <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 delete account 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 delete account 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 Delete Account Link</button>
        </div>
      </div>
    </div>
  </form>
</div>
</body>
</html>
