app/views/users/edit.html.haml in wheels-0.1.21 vs app/views/users/edit.html.haml in wheels-0.1.22
- old
+ new
@@ -1,10 +1,10 @@
%h1 Update your personal info:
.form
= form_for resource do |f|
- -if resource.errors.any?
+ - if resource.errors.any?
#errorExplanation
%h2= "#{pluralize(resource.errors.count, "error")} prohibited this change:"
%ul
- resource.errors.full_messages.each do |msg|
%li= msg
@@ -35,15 +35,6 @@
display: none;
}
= content_for :head do
= javascript_include_tag %w(jquery.validate jquery-validate/additional-methods.js)
-
-
-:javascript
- var checkingPassword = true;
- $(function(){
-
- $('form').validate({onkeyup: function(element) {}});
- $('#old_password').rules("add", {verify_user : true, alphanumeric: true})
- });