- option = (local_assigns.has_key?(:option) and !current_user.wizard_completed?) ? option : nil //- groups = current_user.groups //- tutors = current_user.tutoring_sessions //- social = false #current_user.invites.count > 0 //- discounts = (current_user.credits > 0) //- update_profile = current_user.student_incomplete? - unless current_user.wizard_completed? #wizard_box.white_bg .header - if option Set up your Account - else Set up your Account %span.bottom-text in #{Configurations::BalancedPayment.enabled? ? '5' : '4' } easy steps .student-wizard .step %a{:href => "/settings/edit"} = image_tag "tutor_wizard/#{option.nil? ? 'UpdateStudentProfile' : ('wizard1' + option[:profile].to_s) }.png" - if current_user.profile_completed? = image_tag "check.png", class: "check" %span.description Add a Profile .step %a{:href => "/student/courses"} = image_tag "tutor_wizard/#{option.nil? ? 'PickCourses' : ('wizard2' + option[:course].to_s)}.png" - if current_user.added_courses? = image_tag "check.png", class: "check" %span.description Add Courses .step %a{:href => "/student/tutors/search"} = image_tag "tutor_wizard/#{option.nil? ? 'PickTutor' : ('wizard3' + option[:tutor].to_s)}.png" - if current_user.has_tutoring_sessions? = image_tag "check.png", class: "check" %span.description Browse Tutors .step %a#new_payment{:href => "/invite"} = image_tag "tutor_wizard/#{option.nil? ? 'social' : ('wizard4' + option[:invite].to_s)}.png" - if current_user.sent_invites? = image_tag "check.png", class: "check" %span.description Social - if Configurations::BalancedPayment.enabled? .step %a{:href => new_payment_payment_path} = image_tag "tutor_wizard/#{option.nil? ? 'SetUpPayment' : ('wizard5' + option[:payment].to_s)}.png" - if current_user.has_balanced_account? = image_tag "check.png", class: "check" %span.description Setup Payment -# .step %a{:href => "/student/groups"} = image_tag "tutor_wizard/PickSubjects.png" - if current_user.has_groups? = image_tag "check.png", class: "check" %span.description Pick Groups .step %a{:href => "/settings/edit"} = image_tag "tutor_wizard/UpdateStudentProfile.png" - if true#update_profile = image_tag "check.png", class: "check" %span.description Update your profile .clear .white_bg.pad_t_20 #packageModal.modal.hide.fade{"aria-hidden" => "true", "aria-labelledby" => "myModalLabel", :role => "dialog", :style => "width: 900px; margin-left: -450px;", :tabindex => "-1"} .modal-header %button.close{"aria-hidden" => "true", "data-dismiss" => "modal", :type => "button"} × %h3#myModalLabel Package Options .modal-body.buy-package