it/itf/static/js/register.js
2011-10-25 21:46:30 +01:00

16 lines
324 B
JavaScript

var labelMap = {
'id_email': 'eMail:',
'id_password2': 'retype password:'
}
$(function() {
for (var i in labelMap) {
if (labelMap.hasOwnProperty(i)) {
if ($('label[for=' + i + ']').length > 0) {
$('label[for=' + i + ']').text(labelMap[i]);
}
}
}
});