ruby - Reduce size of text_field on a form in rails and bootstrap -


i'm newbie , i'm developing app rails , bootstrap. i'm using generate field on form:

<%= d.text_field :email, :placeholder => "email" %> <%= text_field_tag 'doctor[name][]', nil, :placeholder => "name" %> 

and works want resize height of it. googled , didn't found answer fits.

does faced issue?

if you're using bootstrap v2, should add this:

<%= d.text_field :email, :placeholder => "email", :class => "span5" %> 

note number in span class referred size want put.

if you're using new bootstrap (v3 rc), should check this page


Comments

Popular posts from this blog

Admob integration with pygame in android -

mod rewrite - Using "?" when rewriting the URL -

installer - what is Hex representation of MSIUSEREALADMINDETECTION? -