X-Git-Url: http://git.veekun.com/zzz-spline-users.git/blobdiff_plain/621eeb2e049b106ca8c794c0d3e958527eb3f060..29c938f83a6f65a3f11cc64f39c827b6ab839cf3:/spline/plugins/users/templates/widgets/user_state.mako?ds=sidebyside diff --git a/spline/plugins/users/templates/widgets/user_state.mako b/spline/plugins/users/templates/widgets/user_state.mako index 06c6e70..adf816b 100644 --- a/spline/plugins/users/templates/widgets/user_state.mako +++ b/spline/plugins/users/templates/widgets/user_state.mako @@ -1,13 +1,9 @@ <%namespace name="userlib" file="/users/lib.mako" /> % if c.user: ${h.form(url(controller='accounts', action='logout'), id='user')} - Logged in as ${c.user.name} ${userlib.color_bar(c.user)}. + Logged in as ${userlib.color_bar(c.user)} ${c.user.name}. ${h.end_form()} % else: -${h.form(url(controller='accounts', action='login_begin'), id='user')} - - - -${h.end_form()} +
% endif