Skip to content

Commit

Permalink
Made field instance available in template as variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gucki committed Aug 20, 2012
1 parent 461c3c7 commit fed4fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Form.Field = (function() {

//Create the element
var $field = $(templates[schema.template]({
field: this,
key: this.key,
title: schema.title,
id: editor.id,
Expand Down

0 comments on commit fed4fa6

Please sign in to comment.