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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -