Closed theptrk closed 1 month ago
Thank you for your pull-request!
I'm missing the reason behind your change: why do you want to display the nav-bar on the login page?
Don't have any numbers but almost everyone seems to isolate the login-form on page nowadays.
The reason why I left the nav-bar out of the page is that allauth, the underlying package we are using, does the same and I want to stick as much as possible to the original source.
Assuming the question was answered, this will be automatically closed now.
Description
The current setup for account sign up and signin loses the nav bar from the base.html I am proposing we utilize the block
main
to regain the nav bar.Checklist:
The tests fail for me using main branch before this change, not sure its related
Rationale
Seems like the original purpose of the main block was to allow this.
entrance.html
already has a blockcontent
inside the html. Presumably to act as a base template for the allauth views.since our
base.html
relies on a blockcontent
, we now have duplicate names.In order to get around this issue of duplicate names,
base.html
blockcontent
is wrapped with blockmain
. This way another template using a blockcontent
can still extendbase.html
and keep the functionality of the nav bar, css, javascript and other behavior.Without this change (default), the sign up and sign in screens have no way to navigate back to the main page.