2026-01-30 18:23:54 +01:00

22 lines
744 B
HTML

{% extends "base.html" %}
{% import "components/typography.html" as typography %}
{% import "components/cards.html" as cards %}
o{% import "components/inputs.html" as form_helpers %}
{% block main %}
{{ typography::heading(t!("user.new.title")) }}
{% call cards::card() %}
<form action="/users" method="post">
<div class="row align-items-end">
<div class="col-md-10">
{{ form_helpers::input("name", t!("user.attributes.name"), is_required = true, placeholder = "Ex: Kropotkine", margin_bottom = false) }}
</div>
<div class="col-md-2">
<input type="submit" value='{{ t!("user.new.button") }}' class="btn btn-success">
</div>
</div>
</form>
{% endcall %}
{% endblock %}