Localize registration endpoint

This commit is contained in:
Kiril Kovachev 2024-11-22 04:31:48 +00:00
parent ca80bff401
commit 59221db4ae

View File

@ -1,14 +1,14 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block header %} {% block header %}
<h1>{% block title %}Register{% endblock %}</h1> <h1>{% block title %}{{localize("register")}}{% endblock %}</h1>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<form method="post"> <form method="post">
<label for="username">Username</label> <label for="username">{{localize("username")}}</label>
<input name="username" id="username" required autofocus> <input name="username" id="username" required autofocus>
<label for="password">Password</label> <label for="password">{{localize("password")}}</label>
<input type="password" name="password" id="password" required> <input type="password" name="password" id="password" required>
<input type="submit" value="Register"> <input type="submit" value="Register">
</form> </form>