17 lines
704 B
Plaintext
17 lines
704 B
Plaintext
<section class="panel">
|
|
<h2><i data-feather="key"></i> Change name</h2>
|
|
{% if can_change_name %}
|
|
<form action="{{ route('change-name') }}" method="POST">
|
|
{{ macros.field(_locals, 'text', 'name', null, 'New name', null, 'required') }}
|
|
|
|
{{ macros.field(_locals, 'checkbox', 'terms', null, 'I understand that I can only change my name once every ' + name_change_wait_period, '', 'required') }}
|
|
|
|
<button type="submit"><i data-feather="save"></i> Confirm</button>
|
|
|
|
{{ macros.csrf(getCsrfToken) }}
|
|
</form>
|
|
{% else %}
|
|
{{ macros.message('info', 'You can change your name in ' + can_change_name_in) }}
|
|
{% endif %}
|
|
</section>
|