- content_for :title do = 'New User Registration' - content_for :content do -#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)) do |f| = devise_error_messages! = render :partial => 'new_user_data',:locals=>{:f=>f} = f.submit = f.submit 'Cancel', :name => 'cancel'