Skip to content

Conversation

@alemangui
Copy link
Contributor

Hello,

I was wondering if it would be good to allow accessing the model's attributes directly from the template without the need of explicitly setting the templateData. I imagine this case is among the most common ones.

To exemplify, this fiddle tries to access the firstName attribute of the Backbone model the form is bound to: http://jsfiddle.net/WGg32/1/

In order for it to work, it must explicitly set the templateData: http://jsfiddle.net/k4d73/1/

Would something like this be of interest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant