Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 609 Bytes

File metadata and controls

17 lines (12 loc) · 609 Bytes

Templating - Tips and Tricks


go back to Table of contents

1. Adding log in/log out button in navbar

If you want to automatically add a "Log in" / "Log out" / "Exit impersonation mode" button in your navbar, you have to specify route names under admingenerator_generator:

admingenerator_generator:
    login_path: MyLogin_path
    logout_path: MyLogout_path
    exit_path: MyExit_path