Make logout button better

This commit is contained in:
Sam Wing 2019-11-17 15:59:04 -05:00
parent 8bfd6aa2e8
commit 413aa0f63c

View file

@ -30,6 +30,6 @@ nav.navbar(role='navigation', aria-label='main navigation')
hr.navbar-divider hr.navbar-divider
.navbar-item .navbar-item
form#logoutForm(action='/logout', method='POST') form#logoutForm(action='/logout', method='POST')
button.linkButton(type='submit') Log Out button.button.is-warning(type='submit') Log Out
//-+navBarLink('javascript:document.getElementById("logoutForm").submit()', 'Log Out') //-+navBarLink('javascript:document.getElementById("logoutForm").submit()', 'Log Out')
script(src="/js/nav.js") script(src="/js/nav.js")