37 lines
1.2 KiB
Twig
37 lines
1.2 KiB
Twig
{% extends 'pages/settings/settings.twig' %}
|
|
{% import 'macros/form.twig' as f %}
|
|
{% import 'macros/base.twig' as m %}
|
|
|
|
{% block title %}{{ __('settings.password') }}{% endblock %}
|
|
|
|
{% block row_content %}
|
|
<form action="" enctype="multipart/form-data" method="post">
|
|
{{ csrf() }}
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{{ f.info(__('Here you can change your password.')) }}
|
|
{{ f.input(
|
|
'password',
|
|
__('Old password:'),
|
|
'password',
|
|
{'required': true}
|
|
) }}
|
|
{{ f.input(
|
|
'new_password',
|
|
__('New password:'),
|
|
'password',
|
|
{'required': true}
|
|
) }}
|
|
{{ f.input(
|
|
'new_password2',
|
|
__('Password confirmation:'),
|
|
'password',
|
|
{'required': true}
|
|
) }}
|
|
{{ f.submit() }}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|