Admins can now add other users

This commit is contained in:
Ismo Vuorinen
2013-07-18 12:57:43 +03:00
parent b31c50cd77
commit 140dcd21d5
5 changed files with 163 additions and 2 deletions

View File

@@ -25,6 +25,19 @@ jQuery(document).ready(function($) {
}
});
$('#user_add').validate({
rules: {
username: "email",
password: "required",
password_again: {
equalTo: "#password"
}
},
submitHandler: function(form) {
form.submit();
}
});
// Provide zebra striping to our table
$('table tbody tr:odd').addClass("zebra");