aboutsummaryrefslogtreecommitdiff
path: root/underlays/openid-selector
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-08 16:16:38 -0400
committerJoey Hess <joey@kitenet.net>2010-05-08 16:16:38 -0400
commitbf19c01f29a7e740f47354318629e61ad4ee5175 (patch)
treee03bfa9625015c90b78111df9ad740dc26524bff /underlays/openid-selector
parent10a1c0feca18a0615358539771b5a58aacb72c0e (diff)
downloadikiwiki-bf19c01f29a7e740f47354318629e61ad4ee5175.tar
ikiwiki-bf19c01f29a7e740f47354318629e61ad4ee5175.tar.gz
use labels
Diffstat (limited to 'underlays/openid-selector')
-rw-r--r--underlays/openid-selector/ikiwiki/openid/openid-jquery.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
index bf14fd3d5..4eaa613d9 100644
--- a/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
+++ b/underlays/openid-selector/ikiwiki/openid/openid-jquery.js
@@ -246,14 +246,14 @@ var openid = {
var label = provider['label'];
var style = '';
- if (label) {
- html = '<p>' + label + '</p>';
- }
if (provider['name'] == 'OpenID') {
id = this.input_id;
value = '';
style = 'background:#FFF url(wikiicons/openidlogin-bg.gif) no-repeat scroll 0 50%; padding-left:18px;';
}
+ if (label) {
+ html = '<label for="'+ id +'" class="block">' + label + '</label>';
+ }
html += '<input id="'+id+'" type="text" style="'+style+'" name="'+id+'" value="'+value+'" />' +
'<input id="openid_submit" type="submit" value="Login"/>';