-<%=
- update_page_tag do |page|
- page[:login_openid_url].hide
- page[:login_openid_submit].hide
- end
-%>
+<script type="text/javascript">
+function showOpenidUrl() {
+ $("#openid_url").val("http://");
+ $("#login_openid_buttons").hide();
+ $("#login_openid_url").show();
+ $("#login_openid_submit").show();
+}
+
+function submitOpenidUrl(url) {
+ $("#openid_url").val(url);
+ $("#login_form").submit();
+}
+
+$("#login_openid_url").hide();
+$("#login_openid_submit").hide();
+</script>