{% extends "base.html.twig" %}
{% block content %}

<div class="login-page">
  <div class="login-page-logo">Zer.ooo</div>
  <div class="intro-page-welcome-text">Log in with an existing account</div>
  <ul class="topnav">
  <li><a href="/">Home</a></li>
 </ul>
</div>

<div class="info-page">
  <div class="login-page-form">
    {% if error %}
      <div class="alert alert-warning" role="alert">
        {{ error }}
      </div>
    {% endif %}

      <form method="post" action="/login">
        <input id="username" type="text" placeholder="Username" name="username">
        <br><br>
        <input id="password" type="password" placeholder="Password" name="password">
        <br><br>
        <p>Not yet registered, but have an invite? <a href="/register">Register here.</a></p>
        <button type="submit">Login</button>
      </form>
    </div>
  </div>
{% endblock %}
