zurb/foundation — pull request #2036 by nicolai86 (2013-03-26 10:42:57+00:00)
Title: bugfix for custom forms with inline labels

The markup descriped in the Zurb Foundation 3.2 documentation under "Row Layouts" (inline labels in particular) does not work with custom form stylings.

This is because the assumption that the hidden checkbox input is the previous child of the styled input is not always correct.
In this pull request I've added a fall back using the for-attribute as a last resort lookup for the correct hidden input field.

Feedback?