code: function(name, object, content_callback) {
          var builder;
          // define a form with just a name
          if ($.isFunction(object)) {
            content_callback = object;
            object = this[name];
          }
          builder = new Sammy.FormBuilder(name, object),
          content_callback.apply(this, [builder]);
          return builder;
        }
docs: formFor creates a Sammy.Form builder object with the passed `name` and `object` and passes it as an argument to the `content_callback`. This is a shortcut for creating FormBuilder objects for use within templates.  ### Example  // in item_form.template  <% formFor('item', item, function(f) { %> <%= f.open({action: '#/items'}) %> <p> <%= f.label('name') %> <%= f.text('name') %> </p> <p> <%= f.submit() %> </p> <%= f.close() %> <% }); %>