{{define "page:title"}}Login{{ end }}

{{define "page:content"}}

<div id="form-login-container">
  <div id="form-login">
    <h2><img src="/static/img/brainminder.svg" /><span style="font-weight: bold;">B</span>rain<span style="font-weight: bold;">M</span>inder</h2>
    <form method="POST" action="/login">
      <input type="hidden" name="csrf_token" value="{{.CSRFToken}}" />
      <p>
        <label for="email">Email</label>
        <input id="email" type="email" name="Email" value="{{.Form.Email}}" />
      </p>
      <p>
        <label for="password">Password</label>
        <input id="password" type="password" name="Password" />
      </p>
      <button><i class='bi bi-lock'></i> Login</button>
    </form>
  </div>
</div>
{{ end }}
