WiserTogether/chiropractor — pull request #1 by nowells (2013-08-01 04:20:55+00:00)
Title: WIP: Adding a base FormView that will automatically render form errors.

This is a WIP: I will continue to update the code here, but I would love to get initial feedback on the approach and ideas presented here.

The goal of the FormView is to provide a simple and clean way of rendering form field elements (with default formfield templates, and the ability to override and add additional form field types) as well as the automatic rendering of form errors on a Chiropractor.Model invalid event.

We have added two new Handlebars helpers

```handlebars
{{ formfield "text" model "field" }}
```

and

```
{{#ifequal value1 value2}}equal{{else}}notequal{{/if}}
```