Wrong class on input wrappers #74

hron84 opened this Issue Mar 18, 2013 · 0 comments


None yet
2 participants

hron84 commented Mar 18, 2013

Normal input rendered with this markup:

<div class="clearfix" id="post_video_input">
  <div class="input">
    <input id="post_video" name="post[video]" size="30" type="text" />

Latest Twitter bootstrap requires following markup (I kept current classes too):

<div class="control-group clearfix" id="post_video_input">
  <div class="controls input">
    <input id="post_video" name="post[video]" size="30" type="text" />

Plus, on validation errors .control-group should marked with error class to make input as red.

For details, check latest docs

@stouset stouset closed this Mar 18, 2013

hron84 referenced this issue in hron84/twitter_bootstrap_form_for Oct 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment