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

{{define "page:content"}}

<div id="form-login-container" style="min-height: 400px;">
  <div id="form-login">
    <h2 class="w3-center"><img src="/static/img/brainminder.svg" style="height: 50px; padding-right: 10px;" /><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 class="w3-block w3-btn w3-metro-light-blue w3-round-medium" style="margin-top: 50px; margin-bottom: 20px;"><i class='bi bi-lock'></i> Login</button>
    </form>
  </div>
</div>
{{ end }}
