/ #profile.tab-pane .row .userinfo.col-xs-12.col-sm-12.col-md-12.col-lg-12 .col-xs-12.col-sm-12.col-md-3.col-lg-3.center #section-image = render "users/upload_image_form", user: @student .col-xs-12.col-sm-12.col-md-9.col-lg-9 = render 'tutors/details', tutor: @student .pull-left.col-xs-12 .col-sm-12.edit-profile-tabs-wrapper ul.nav.nav-tabs.inline role="tablist" li class="#{'active' if @student.positions.exists? || @student.educations.count > 1 || @student.awards.exists?}" a class="ico-pro" data-toggle="tab" href="#credentials" role="tab" Credentials - if current_user.id == @student.id = link_to edit_settings_path(editable: 'credentials'), title: "Edit Credentials", class: 'edit-cred' i.fa.fa-pencil.edit-badge - if @student.courses_studying.exists? || @student.organizations.exists? || @student.user_skills.exists? li class="#{'active' unless @student.positions.exists? || @student.educations.count > 1 || @student.awards.exists?}" a class="ico-pro" data-toggle="tab" href="#bio" role="tab" Bio .clearfix .tab-content #credentials.tab-pane.face.in.fade class="#{'active' if @student.positions.exists? || @student.educations.count > 1 || @student.awards.exists?}" - if @student.positions.exists? || @student.educations.count > 1 || @student.awards.exists? = render 'tutors/credentials', tutor: @student - else | Click on Edit to add credentials. #bio.tab-pane.face.in.fade class="#{'active' unless @student.positions.exists? || @student.educations.count > 1 || @student.awards.exists?}" = render 'tutors/bio', tutor: @student .clearfix .mtb20