diff --git a/lib/generators/templates/client_side_validations/initializer.rb b/lib/generators/templates/client_side_validations/initializer.rb index d0481eef..285fccfe 100644 --- a/lib/generators/templates/client_side_validations/initializer.rb +++ b/lib/generators/templates/client_side_validations/initializer.rb @@ -16,7 +16,7 @@ # # # ActionView::Base.field_error_proc = proc do |html_tag, instance| -# if html_tag =~ /^#{html_tag}).html_safe # else # %(#{html_tag}#{instance.error_message.first}).html_safe