[html-formfu] How to remove enclosing div for a text input element

Brian Cassidy brian.cassidy at gmail.com
Wed Apr 4 14:19:36 GMT 2012

On Wed, Apr 4, 2012 at 11:15 AM, Carl Franks <fireartist at gmail.com> wrote:
> ...or add a new option to skip auto-adding classes :)
> Probably the least work for this specific case, though maybe not if
> there are many more changes required for bootstrap

Yeah, it's slightly more complex. For example, if you want
"horizontal" forms [1], your markup for each label/input looks
something like this:

<div class="control-group">
  <label class="control-label" for="input01">Text input</label>
  <div class="controls">
    <input type="text" class="input-xlarge" id="input01">
    <p class="help-block">Supporting help text</p>

[1] http://twitter.github.com/bootstrap/base-css.html#forms (scroll down a bit)

Brian Cassidy (brian.cassidy at gmail.com)

More information about the HTML-FormFu mailing list