<!DOCTYPE html>
<html lang="en"
      th:replace="~{admin/dashboard/layout :: parent(~{::#content},~{::title},~{::script})}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Change Username</title>
</head>
<body>
<section class="content" id="content">
  <div class="row">
    <div class="col-md-6">
      <div class="card card-primary">
        <div class="card-header">
          <h3 class="card-title">Change Username</h3>

          <div class="card-tools">
            <button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
              <i class="fas fa-minus"></i>
            </button>
          </div>
        </div>
        <form action="/admin/change-username" method="post">
          <div class="card-body">
            <div class="form-group">
              <label for="inputEmail">Email</label>
              <input type="email" id="inputEmail" class="form-control" readonly>
            </div>
            <div class="form-group">
              <label for="inputUsername">old Username</label>
              <input type="text" class="form-control" placeholder="New Username" id="inputUsername">
            </div>
            <div class="form-group">
              <label for="inputNewUsername">new Username</label>
              <input type="text" class="form-control" placeholder="New Username" id="inputNewUsername">
            </div>
            <div class="form-group">
              <input type="submit" value="Change Username" class="btn btn-success float-right">
            </div>
          </div>
          <!-- /.card-body -->
        </form >
      </div>
      <!-- /.card -->
    </div>

  </div>>
</section>

</body>
</html>
