%= bootstrap_form_tag "#", "Sample form", :class=>'sample_form' do%> <%= bootstrap_form_input ("Sample input"){ text_field "sample", "input", :class=>'xlarge'}%> <%= bootstrap_form_input ("Custom class", :class=>'custom_class') do%>