I'm trying to create a custom user edit page with twig located under
I have a custom theme and inside the templates folder I have created
user.html.twig and in
custom_theme.theme I've created a function
custom_theme_preprocess_user(). The template renders correctly, but the problem I'm having is that the template now also renders under
I might be doing this all wrong, so all help would be appreciated.