Plume/templates/users/new.html.tera

19 lines
701 B
Plaintext

{% extends "base" %}
{% import "macros" as macros %}
{% block title %}
{{ "New Account" | _ }}
{% endblock title %}
{% block content %}
<h1>{{ "Create an account" | _ }}</h1>
<form method="post">
{{ macros::input(name="username", label="Username", errors=errors, form=form) }}
{{ macros::input(name="email", label="Email", errors=errors, form=form, type="email") }}
{{ macros::input(name="password", label="Password", errors=errors, form=form, type="password") }}
{{ macros::input(name="password_confirmation", label="Password confirmation", errors=errors, form=form, type="password") }}
<input type="submit" value="{{ "Create account" | _ }}" />
</form>
{% endblock content %}