Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{{#view SC.FormView target="Todos.userSessionController" action="signIn"}}
<!-- name="name" will be used to bind text fied to proper target,
insertNewLine will automatically call action -->
{{view Todos.TextField placeholder="Email" name="email"}}
{{view Todos.TextField placeholder="Password" type="password" name="password"}}
{{#view SC.Submit text="Sign in"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment