Hello.
How can I modify the Forgot form, applying the css classes from the .md file to it?
I know how to do this in a normal form (contact, for example), but I don’t know how to change it in the forgot.md file.
I can only make the changes by modifying the partials/forgot-form.html.twig file (copied to the theme folder, previously), but if in the future the Login plugin is updated, the theme file would not be updated. So I would like to know how to make the changes in the forgot.md file.
I have done the following, but it doesn’t work:
---
title: Forgot password
cache_control: private, no-cache, must-revalidate
login_redirect_here: false
form:
fields:
- name: email
type: email
label: PLUGIN_LOGIN.EMAIL
autofocus: true
validate:
required: true
type: email
buttons:
- name: task
type: submission
value: login.forgot
label: PLUGIN_LOGIN.BTN_SEND_INSTRUCTIONS
classes: large fit
---
# Recover your password
Enter your email to recover your password
Any idea?