2018-05-09 19:53:12 +02:00
|
|
|
{% extends "base" %}
|
2018-07-06 19:29:36 +02:00
|
|
|
{% import "macros" as macros %}
|
2018-04-22 20:13:12 +02:00
|
|
|
|
2018-05-09 19:53:12 +02:00
|
|
|
{% block title %}
|
2018-06-17 17:26:15 +02:00
|
|
|
{{ "New Account" | _ }}
|
2018-05-09 19:53:12 +02:00
|
|
|
{% endblock title %}
|
2018-04-22 20:13:12 +02:00
|
|
|
|
2018-05-09 19:53:12 +02:00
|
|
|
{% block content %}
|
2018-06-17 17:26:15 +02:00
|
|
|
<h1>{{ "Create an account" | _ }}</h1>
|
2018-05-09 19:53:12 +02:00
|
|
|
<form method="post">
|
2018-07-07 22:51:48 +02:00
|
|
|
{{ macros::input(name="username", label="Username", errors=errors, form=form, props='minlenght="1"') }}
|
2018-07-06 19:29:36 +02:00
|
|
|
{{ macros::input(name="email", label="Email", errors=errors, form=form, type="email") }}
|
2018-07-07 22:51:48 +02:00
|
|
|
{{ macros::input(name="password", label="Password", errors=errors, form=form, type="password", props='minlenght="8"') }}
|
|
|
|
{{ macros::input(name="password_confirmation", label="Password confirmation", errors=errors, form=form, type="password", props='minlenght="8"') }}
|
2018-05-09 19:53:12 +02:00
|
|
|
|
2018-06-17 20:14:58 +02:00
|
|
|
<input type="submit" value="{{ "Create account" | _ }}" />
|
2018-05-09 19:53:12 +02:00
|
|
|
</form>
|
|
|
|
{% endblock content %}
|