The problem that I’m having is that I’m inserting the login bar and the registration bar using two templates call “login” and “register”. What I would like to do is when a user log in. The register template should be removed. I’m not able to find a good solution to remove a template programmatically.
Share
handlebars has helper like {{currentUser}}