engelsystem/resources/views/pages/password/reset-form.twig

26 lines
840 B
Twig
Raw Permalink Normal View History

2019-10-08 16:17:06 +02:00
{% extends "pages/password/reset.twig" %}
{% import 'macros/base.twig' as m %}
{% import 'macros/form.twig' as f %}
{% block row_content %}
<div class="col-md-8">
<form action="" enctype="multipart/form-data" method="post">
{{ csrf() }}
2023-10-01 22:33:58 +02:00
{{ f.input('password', __('settings.password'), {
'type': 'password',
'min_length': min_length,
'required': true,
2023-12-06 13:24:46 +01:00
'info': __('password.minimal_length', [config('min_password_length')]),
}) }}
2023-11-23 17:37:06 +01:00
{{ f.input('password_confirmation', __('password.reset.confirm'), {
'type': 'password',
'min_length': min_length,
'required': true,
}) }}
2019-10-08 16:17:06 +02:00
2023-10-01 22:33:58 +02:00
{{ f.submit(__('form.save')) }}
2019-10-08 16:17:06 +02:00
</form>
</div>
{% endblock %}