Quickfix for input markup for addons (it should be improved)
Fixing input addons
Merge pull request #76 from hron84/fix-input-addons
Fix input addons
Hey! I wonder why this was changed... In the readme it says
/ generates a password field with a descriptive aside
= user.password_field :password do
Must be no larger than 6 characters<br/>
Must contain only the letters 'x' or 'p'
but with this change i would have to add :add_on => :append to make this work. Is this intended?
IIRC I have to do it because the lib did not generated a correct markup for latest Bootstrap and the inputs were completelly broken. As I remember, I just simply copied a code from somewhere another place in this gem, so that requirement should be a side effect. See stouset/twitter_bootstrap_form_for#74 for details.