I have Iron:Router setup with the following route: Router.route('/building/update/:_id', { name: 'building_edit', template: 'building_edit', data: function() { return Buildings.findOne(this._id); } });
and my building_edit template has the following code {{#autoForm schema=Schemas.Buildings type="update" id="update_building" doc=this }} ... {{> afQuickField name="name" }} ... {{/autoForm}}