code: function(keypath, attributes) {
        attributes = $.extend({type: 'hidden'}, this._attributesForKeyPath(keypath), attributes);
        return simple_element('input', attributes);
      }
docs: creates a hidden input for `keypath` with an optional `attributes` object