diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index 61af1c0476..5936e105cf 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -50,7 +50,7 @@ See doc/COPYRIGHT.rdoc for more details. - <%= check_box_tag("user_assign_random_password", + <%= check_box_tag("user[assign_random_password]", "1", assign_random_password_enabled) %>
@@ -68,7 +68,8 @@ See doc/COPYRIGHT.rdoc for more details. :disabled => assign_random_password_enabled %>- <%= f.check_box :force_password_change %> + <%= f.check_box :force_password_change, + :disabled => assign_random_password_enabled %>