Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Wrong class on input wrappers #74

hron84 opened this Issue · 0 comments

2 participants


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
@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.