You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: framework.rb
    path of file: ./repos/pakyow/frameworks/form/lib/pakyow/form
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "pakyow/framework"

module Pakyow
  module Form
    class Framework < Pakyow::Framework(:form)
      def boot
        require "json"

        require "pakyow/support/extension"
        require "pakyow/support/inflector"

        
    
              def classify_fields
                view.each_binding_prop do |node|
                  binding_name = node.label(:binding)
                  error = form_errors.find { |e| e[:field] == binding_name }

                  find(binding_name).with do |field|
                    if error.nil?
                      field.attrs[:class].delete(:"ui-errored")
                      field.attrs[:title] = ""
                    else
                      field.attrs[:class] << :"ui-errored"
                      field.attrs[:title] = error[:message]
                    end
                  end
                end