Fix to render form that will validate with mapping fields, refs #158
more validation fixes for hidden fields
Labels that surround input tags like checkboxes and radio buttons provide better touch targets (the label becomes a touch target).
The first item of the sequence has to have the same id as the containing field so that the label can be associated with it.
Merge branch 'master' of github.com:calvinhp/deform
more templates fixes for HTML5 validation, refs #158
Moved hidden fields outside of the list.
fixed tests/code to get tests passing again, refs #158
Label surrounds input tag to provide a bigger touch target.
Mapping label refers to the first item.
Merge branch 'master' of github.com:calvinhp/deform
Changed selector to reflect change from ul > span to ul > li > span.
Moved the 'deformInsertBefore' tag outside the ul because the selector is so fragile.
Moved the marker span back within the list and set the selector to use the last list element. Still need to fix .
Adjusted sequence-item template so that we have valid lists again and adjusted the selector accordingly. Doesn't solve drag'n'drop which seems to be responding to the -orderable on the outer UL. If that's the case we might be dealing with hard-wired behaviour in jQuery and need to look at ways of reducing the depth of the lists.
Reordered code to be valid HTML but still support drag'n'drop. Still need to fix the name of the anchor since this has been moved into the template. And for some reason the Javascript is not able to read whether something is orderable or not. The fix breaks some of the other tests fixed yesterday but they are hopefully easier to fix: the change also means that you can remove items from the sequence.
Use same selector for reading as writing.
Remove hack to set orderable.
Anchor set in HTML.
Change how the selector finds the relevant node in sequences.
Removed anchor generation - it cannot be an empty tag if it used. If it is required, it must be within a sequence item.
Merge branch 'master' of github.com:calvinhp/deform into calvinhp-master