Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Wrong class on input wrappers #74

Closed
hron84 opened this Issue · 0 comments

2 participants

@hron84

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" />
  </div>
</div>

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" />
  </div>
</div>

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
@hron84 hron84 referenced this issue from a commit in hron84/twitter_bootstrap_form_for
@hron84 hron84 Fixing input addons f78246f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.