.editbox.education-edit-popover #personal_info_row.col-sm-12.no-padding = simple_form_for @user, url: settings_path, turboboost: true, validate: true, html: { class: "tutor_update_form", id: 'edit_personal_details' } do |f| = hidden_field_tag :type, 'popover' = hidden_field_tag :form_type, 'profile_details' .col-sm-12 = f.input :name, placeholder: 'Name',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Name' } .col-sm-12 = f.input :last_name, placeholder: 'Last Name',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Name' } .col-sm-12 = f.input :exp_title, placeholder: 'Title',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Title' } .col-sm-12 = f.input :location, placeholder: 'Location',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Location' } .col-sm-12 = f.input :industry, placeholder: 'Industry',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Industry' } .col-sm-12 = f.input :site_url, placeholder: 'Site Url',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Site Url', type: 'text' } .row = f.fields_for :educations, [f.object.educations.first] do |e| .col-sm-12 = e.input :end_date, start_year: Date.today.year - 40, end_year: Date.today.year + 5, as: :date, discard_day: true, discard_month: true, label: "Graduation Year", wrapper_html: {class: 'div-rpad-sel'}, input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Graduation Year' } .col-sm-12 = e.input :field_of_study, placeholder: 'Major',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Major' } .col-sm-12 = e.input :minor, placeholder: 'Minor',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'Minor' } .col-sm-12 = e.input :school_name, placeholder: 'School Name',input_html: {data: {toggle: 'tooltip', placement: 'left'}, title: 'School Name' } .col-sm-12 .col-sm-6 button.btn.btn-default.mb10 .fa.fa-save .inline | Save .col-sm-6 .btn.btn-default.mb10 data-dismiss='popover' .fa.fa-times.pr5 .inline | Cancel .vspace25