powmedia/backbone-forms — Issue #8: Submit button, <form> tag, and fieldsets vs forms
Author: jasonm
Created: 2011-10-13 21:04:09+00:00
State: open

Hi Charles,

First off, I'm enjoying this library a great deal so far - it fills a definite gap in Backbone usage. Thanks for getting the ball rolling. I have a few questions, so I'll open different issues for each.

In general, the markup generated by a Backbone.Form instance is more like a set of fields (a fieldset?), than a whole form; it has a root

tag rather than

, and doesn't yet have facility to including a submit button or cancel button/link. I find myself wrapping it inside another Backbone view class that provides the encloding

element and input buttons, but it would be nice if a Form instance could provide all the markup for a

. What do you think?