Login
4 branches 0 tags
Ben (Desktop/Arch) Remote CI 3cb47c1 14 days ago 247 Commits
rubhub / templates / auth / registration.html
<html>
  <head>
    <title>Login</title>
  </head>
  
  <body>
    {% include "partials/sidebar.html" %}
    <main>
      <section>
        <h1>Registration</h1>
        {% match message %}
        {% when Some with (msg) %}
        <div class="message" role="alert">{{ msg }}</div>
        {% when None %}
        {% endmatch %}
        <div class="auth-grid">
          <div class="auth-card">
            <form method="post" action="/registration" class="stack">
              <input type="hidden" name="action" value="register">

              <label for="register-username">Username</label>
              <input id="register-username" label="Username" name="username" type="text" autocomplete="username" />

              <label for="register-email">E-Mail</label>
              <input id="register-email" name="email" type="email" autocomplete="email" required>

              <label for="register-password">Password</label>
              <input id="register-password" name="password" type="password" autocomplete="new-password" required>

              <button type="submit"><span class="icon i-user-round-plus"></span> Create account</button>
            </form>
            <br/>
            <p>Already have an account? <a href="/login">Log in</a></p>
          </div>
        </div>
      </section>
    </main>
  </body>
</html>