Skip to content

Instantly share code, notes, and snippets.

@gaboesquivel
Created October 5, 2012 20:18
Show Gist options
  • Save gaboesquivel/3842124 to your computer and use it in GitHub Desktop.
Save gaboesquivel/3842124 to your computer and use it in GitHub Desktop.
rtc
:coffeescript
window.RTC = {}
RTC.completedSteps = #{ current_user.rtc_completed_steps rescue [] }
%section#rtc_container.tabs_container{ class: current_locale }
#slider_arrow
.prev.arrow
- if current_user && can?(:update, profile)
.next.arrow
-elsif !current_user || (current_user && current_user.profile.id != profile.id)
.next.arrow.hide
#rtc_slides_container.tabs_slides_container
=render "profiles/tabs/rtc/step1_start"
=render "profiles/tabs/rtc/step2_college_plan"
=render "profiles/tabs/rtc/step3_college_plan_workbook"
=render "profiles/tabs/rtc/step8_awesome_box"
=render "profiles/tabs/rtc/step7_scholarship_tracker"
=render "profiles/tabs/rtc/step4_articles_and_more"
=render "profiles/tabs/rtc/step6_new_futuro_live"
=render "profiles/tabs/rtc/step5_partners"
=render "profiles/tabs/rtc/step9_journey"
.footer
#rtc_pager.pager
%ul
=javascript_include_tag "share_popover"
=javascript_include_tag "road_to_college/share"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment