dbc73a0810207678477fba3d0895cb2c1603f90d
[zzz-spline-users.git] / spline / plugins / users / templates / widgets / user_state.mako
1 % if c.user:
2 ${h.form(url(controller='accounts', action='logout'), id='user')}
3     Logged in as ${c.user.name}.
4     <input type="submit" value="Log out">
5 ${h.end_form()}
6 % else:
7 ${h.form(url(controller='accounts', action='login_begin'), id='user')}
8     <img src="${h.static_uri('spline', 'icons/openid.png')}">
9     <input type="text" name="openid" size="30">
10     <input type="submit" value="Log in">
11 ${h.end_form()}
12 % endif