Add locales
This commit is contained in:
parent
577170bfdd
commit
362beac856
22 changed files with 519 additions and 103 deletions
|
|
@ -4,17 +4,17 @@
|
|||
o{% import "components/inputs.html" as form_helpers %}
|
||||
|
||||
{% block main %}
|
||||
{{ typography::heading("New User") }}
|
||||
{{ typography::heading(t!("user.edit.title")) }}
|
||||
|
||||
{% call cards::card() %}
|
||||
<form action="/users/{{ user.id }}" method="post">
|
||||
<div class="row align-items-end">
|
||||
<div class="col-md-10">
|
||||
{{ form_helpers::input("name", "Name", value = user.name, is_required = true, placeholder = "Ex: Kropotkine", margin_bottom = false) }}
|
||||
{{ form_helpers::input("name", t!("user.attributes.name"), value = user.name, is_required = true, placeholder = "Ex: Kropotkine", margin_bottom = false) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-2">
|
||||
<input type="submit" value="Edit user" class="btn btn-success">
|
||||
<input type="submit" value='{{ t!("user.edit.button") }}' class="btn btn-success">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in a new issue