Revert "dasher /logout link - REVERT ME"

This reverts commit 0c9c46bdb2.
pull/3523/head
Thibault Duplessis 2017-08-24 21:12:51 -05:00
parent b2795b1004
commit a2c085900c
1 changed files with 10 additions and 4 deletions

View File

@ -31,10 +31,16 @@ export default function(ctrl: DasherCtrl): VNode {
linkCfg('/coach/edit', ':'),
'Coach manager'),
h(
'a.text',
linkCfg('/logout', 'w'),
noarg('logOut'))
h('form', {
attrs: { method: 'post', action: '/logout' }
}, [
h('button.text', {
attrs: {
type: 'submit',
'data-icon': 'w'
}
}, noarg('logOut'))
])
]) : null;
}