Created
February 11, 2013 18:34
-
-
Save walter/4756493 to your computer and use it in GitHub Desktop.
example blog form view definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # form view that matches posts.form template | |
| App.PostsFormView = Em.View.extend | |
| tagName: 'form' | |
| classNames: 'modal fade in form-custom-field-modal'.w() | |
| didInsertElement: -> | |
| @$().modal 'show' | |
| willDestroyElement: -> | |
| @$().modal 'hide' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment