{% block view %}
<div class="c-loginbox {% if componentMargin is defined %}{{componentMargin}}{% endif %}">
{# {% if error %}
<div class="c-login__alert">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %} #}
{% if editmode %}
Only in Frontend
{% else %}
<form action="{{ path('mvk_password_reset_request') }}" method="post" class="js-custom-form">
<label for="email">{{'mvk_doc_fe_Loginbox_email' | trans }}</label>
<input type="email" id="email" name="email" required>
{# If you want to control the URL the user is redirected to on success
<input type="hidden" name="_target_path" value="/account"> #}
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<button type="submit">{{'mvk_doc_fe_Loginbox_button_reset' | trans }}</button>
</form>
{% endif %}
</div>
{% endblock %}