Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tomitrescak committed Jun 3, 2015
1 parent 6bedf90 commit dfe79e8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,20 @@ or
</template>
```

Now, you need to specify the `formData` in the helper:

```javascript
Template.home.helpers({
formData: function() {
return {
id: this._id,
other: this.other,
hard: 'Lolcats'
}
}
});
```

Following *options* are available for the template:

| Field | Type | Default | Description |
Expand Down

0 comments on commit dfe79e8

Please sign in to comment.