Commit 4e61034a authored by Clément Damiens's avatar Clément Damiens
Browse files

register process and using charte

parent 932d86cd
......@@ -445,6 +445,13 @@ var Login = {
});
return false;
}
if(!form3.find("#charte").is(":checked")){
var validator = $( '.form-register' ).validate();
validator.showErrors({
"charte": trad["mustacceptCGU"]
});
return false;
}
errorHandler3.hide();
//createBtn.start();
$(".createBtn").prop('disabled', true);
......
......@@ -58,6 +58,16 @@
"useHeader" : true,
"useFilter" : false,
"inMenu" : false
},
"#charte":{
"subdomainName" : "Charte d'utilisation",
"placeholderMainSearch" : "Mentions légales",
"hash" : "#app.view",
"icon" : "",
"urlExtra" : "/page/charteUsing/url/co2.views.docs.charteUsing",
"useHeader" : true,
"useFilter" : false,
"inMenu" : false
},
"#badge":true
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment