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