zero-to-axum/templates/signup.html

20 lines
443 B
HTML

<!DOCTYPE html>
<html lang="en">
<title>Signup</title>
{%if let Some(msg) = error %}
<p class="error">{{msg}}</p>
{% endif %}
<form method=post>
<label>
Email Address
<input type=text name=email>
</label>
<label>
Password
<input type=password name=password>
</label>
<input type=hidden name=csrf-token value="{{csrf_token}}" />
<button type="submit">Signup</button>
</form>
</html>