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