.row .col-sm-8.mt30.col-sm-offset-3.no-padding .col-sm-9.no-padding = simple_form_for @user, :url => url_for(:action => 'update_user_info', :controller => 'books', :id => params[:id]), :method => :post do |f| .col-sm-12 = f.fields_for :educations, [f.object.educations.first] do |e| = e.input :field_of_study, label: 'What are you majoring in at the University of Michigan?', validate: true = e.input :minor, label: 'What degree are you pursuing at the University of Michigan?', validate: true = f.input :summary, label: 'Write a brief bio about yourself', validate: true .col-sm-12.form-group.mt20.center = f.button :submit, 'Save', class: 'btn-green-book'