mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-16 09:47:55 +00:00
Admins can now add other users
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user