Echo Writes Code

authenticate.tera.html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends "_base.tera.html" %}

{% block title %}Authenticate{% endblock %}

{% block content %}
<h1>Authenticate</h1>
<form action="/api/authenticate" method="POST">
  <div>
    <label for="authenticate-username">Username</label>
    <input id="authenticate-username" name="username" type="text" placeholder="Yep, your username goes here!" required>
  </div>
  <div>
    <label for="authenticate-password">Password</label>
    <input id="authenticate-password" name="password" type="password" placeholder="I bet you can't guess what goes here..." required>
  </div>
  <div>
    <input type="submit" value="Authenticate">
  </div>
</form>
{% endblock %}