- content_for :title do = 'New User Registration' - content_for :content do .row .col-md-12 %div -#http://stackoverflow.com/questions/3544265/how-do-i-use-nested-attributes-with-the-devise-model#3764837 =bootstrap_form_for( [resource], :as => resource_name, :url => registration_path(resource_name), layout: :horizontal, label_col: "col-sm-4", control_col: "col-sm-8") do |f| = render :partial=> '/users/user_data',:locals=>{:f=>f}