{% extends 'layout.twig' %}

{% block body %}
	{% if messages.error is defined %}
        {{ messages.error }}
    {% endif %}
<form action="/users/login" method="POST">
  <div>
    <label for="email">Email</label>
    <input type="email" id="email" name="email" required>
  </div>
  <div>
    <label for="password">Password</label>
    <input type="password" id="password" name="password" required>
  </div>
  <button type="submit">Login</button>
</form>

{% endblock %}