2023-12-18 03:38:22 +00:00
{% extends 'default/layout.html.twig' %}
2023-12-19 06:56:59 +00:00
{% block head_title_content %} {{ 'Join' | trans }} - {{ app .name }} {% endblock %}
2023-12-18 03:38:22 +00:00
{% block main_content %}
<form name="join" action=" {{ path ( 'user_add' ) }} " method="post">
{% if request .get ( 'error' ) %}
<output name="error"> {{ request .get ( 'error' ) }} </output>
{% endif %}
2024-02-15 21:15:00 +00:00
{% if request .get ( 'warning' ) %}
<output name="warning"> {{ request .get ( 'warning' ) }} </output>
{% endif %}
2023-12-18 03:38:22 +00:00
<label for="username"> {{ 'Username' | trans }} </label>
<input type="text" name="username" id="username" value=" {{ request .get ( 'username' ) }} " placeholder=" {{ 'Your public identity for this instance, permanently stored in blockchain' | trans }} " />
<label for="password"> {{ 'Password' | trans }} </label>
<input type="password" name="password" id="password" value="" placeholder=" {{ 'Bcrypt hash of this password permanently stored in blockchain' | trans }} " />
<label for="repeat"> {{ 'Repeat password' | trans }} </label>
<input type="password" name="repeat" id="repeat" value="" placeholder=" {{ 'Make sure your password is correct, you can not reset it later!' | trans }} " />
<a href=" {{ path ( 'user_login' ) }} "> {{ 'I have account' | trans }} </a>
<button type="submit"> {{ 'join' | trans }} </button>
2024-02-15 21:15:00 +00:00
{% if cost %}
<span> {{ 'cost: %s KVA' | format ( cost ) | trans }} </span>
{% endif %}
2024-02-16 15:59:06 +00:00
<input type="hidden" name="token" value=" {{ token }} " />
2023-12-18 03:38:22 +00:00
</form>
{% endblock %}