Split login form off to a separate page, with some explanation.
[zzz-spline-users.git] / spline / plugins / users / templates / widgets / user_state.mako
index 06c6e70..86995dc 100644 (file)
@@ -5,9 +5,5 @@ ${h.form(url(controller='accounts', action='logout'), id='user')}
     <input type="submit" value="Log out">
 ${h.end_form()}
 % else:
     <input type="submit" value="Log out">
 ${h.end_form()}
 % else:
-${h.form(url(controller='accounts', action='login_begin'), id='user')}
-    <img src="${h.static_uri('spline', 'icons/openid.png')}">
-    <input type="text" name="openid" size="30">
-    <input type="submit" value="Log in">
-${h.end_form()}
+<p id="user"><a href="${url(controller='accounts', action='login')}">Log in or register</a></p>
 % endif
 % endif