pp_check_box (Erubis::Helpers::RailsFormHelper)

    # File lib/erubis/helpers/rails_form_helper.rb, line 99
      def pp_check_box(object_name, method, options={}, checked_value="1", unchecked_value="0")
        s = check_box(object_name, method, options, checked_value, unchecked_value)
        s.sub!(/\schecked=\"checked\"/, '')
        s.sub!(/type="checkbox"/, "\\&<%= _pp_check_box_checked?(@#{object_name}.#{method}, #{checked_value.inspect}) ? ' checked=\"checked\"' : '' %>")
        return pp_error_on(object_name, method) { _pp_remove_error_div(s) }
      end