.row.bg-grey - if @user.tutor? .col-xs-12.col-sm-3 .col-xs-12.col-sm-12 h4.semibold Courses Tutoring - @user.courses.each do |course| .col-xs-12.col-sm-12 = course.name .col-xs-12 class=(@user.tutor? ? 'col-sm-3' : 'col-sm-4') .col-xs-12.col-sm-12 h4.semibold Courses Studying - @user.courses_studying.each do |course| .col-xs-12.col-sm-12 = course.name .col-xs-12 class=(@user.tutor? ? 'col-sm-3' : 'col-sm-4') .col-xs-12.col-sm-12 h4.semibold Skills Tutoring - if @user.skills.present? - @user.skills.each do |skill| .col-xs-12.col-sm-12 = skill.name - else .col-xs-12.col-sm-12 | Skills Tutoring Not Added. .col-xs-12 class=(@user.tutor? ? 'col-sm-3' : 'col-sm-4') .col-xs-12.col-sm-12 h4.semibold Skills Studying - if @user.studying_skills.present? - @user.studying_skills.each do |skill| .col-xs-12.col-sm-12 = skill.name - else .col-xs-12.col-sm-12 | Skills Studying Not Added. .row.bg-grey .col-xs-12.col-sm-4 .col-xs-12.col-sm-12 h4.semibold Organizations - if @user.organizations.present? - @user.organizations.each do |organization| .col-xs-12.col-sm-12 = organization.name - else .col-xs-12.col-sm-12 | Organizations Not Added. .col-xs-12.col-sm-4 .col-xs-12.col-sm-12 h4.semibold Interests - if @user.sports.present? - @user.sports.each do |sport| .col-xs-12.col-sm-12 = sport.name - else .col-xs-12.col-sm-12 | Interests Not Added. .col-xs-12.col-sm-4 .col-xs-12.col-sm-12 h4.semibold Invites - if @user.invites.present? - @user.invites.each do |invite| .col-xs-12.col-sm-12 = invite.invitee_email - else .col-xs-12.col-sm-12 | Invites Not Added. .row.bg-grey .col-xs-12.col-sm-4 .col-xs-12.col-sm-12 h4.semibold Awards - if @user.awards.present? - @user.awards.each do |award| .col-xs-12.col-sm-12 = award.name - else .col-xs-12.col-sm-12 | Awards Not Added. .col-xs-12.col-sm-4 .col-xs-12.col-sm-12 h4.semibold Education - if @user.educations.present? - @user.educations.each do |education| .row .col-xs-12.col-sm-6 |School Name .col-xs-12.col-sm-6 = education.school_name .row .col-xs-12.col-sm-6 |Field of study .col-xs-12.col-sm-6 = education.field_of_study .row .col-xs-12.col-sm-6 |Major .col-xs-12.col-sm-6 = education.degree .row .col-xs-12.col-sm-6 |Minor .col-xs-12.col-sm-6 = education.minor .row .col-xs-12.col-sm-6 |Description .col-xs-12.col-sm-6 = education.description .row .col-xs-12.col-sm-6 |Start Date .col-xs-12.col-sm-6 = education.start_date .row .col-xs-12.col-sm-6 |End Date .col-xs-12.col-sm-6 = education.end_date - else .col-xs-12.col-sm-12 | Educations Not Added. .col-xs-12.col-sm-3 .col-xs-12.col-sm-12 h4.semibold Uploaded Syllabi - if @user.uploaded_syllabuses.present? - @user.uploaded_syllabuses.each do |syllabus| .col-xs-12.col-sm-12 = syllabus.course.try(:name) - else .col-xs-12.col-sm-12 | Syllabus Not Added.