backbone-forms
backbone-forms copied to clipboard
Bootstrap 3 templates
I added a new bootstrap3.html that includes new template files, screenshots below.

Validation Error

To support bootstrap - atomic Editor els <input>, <select> all need .form-control - so the ability to specify a class to add to all els in template JS via Form.Editor.baseClassName = 'form-control'; was needed. Several classnames are added in the complex fields that do not delegate to templates (radio, checkbox) - If a PR that moves these to use templates is desired first I can do that. In addition, I expanded on the capabilities of Form options i proposed here https://github.com/powmedia/backbone-forms/pull/303 to allow the field errorClassName to be specified, it seems I cannot do that without making my own field subclass; this seems like alot of work for a common tweak.
Thanks, this is great! Would be nice if you'd include the updated bootstrap-modal submodule somehow (https://github.com/wwebfor/backbone.bootstrap-modal).
Where did this PR get to? Id love to see it get rolled in.
I'm also trying to get some of the Bootstrap field stuff working, and it's just frustrating with the mandatory <span> (or whatever) wrapping the actual field element.
It would be pretty awesome to see backbone-forms support all the Bootstrap form stuff.