codecombat/app/templates/play/menu/guide-view.jade

16 lines
351 B
Text
Raw Normal View History

2014-12-18 01:26:23 -05:00
if docs.length === 1
if showVideo
h3 Video Tutorial
div(id="help-video-player")
h3 Tips
div
!= docs[0].html
else
ul.nav.nav-tabs
for doc in docs
li
a(data-target="#docs_tab_#{doc.slug}", data-toggle="tab") #{doc.name}
div.tab-content
for doc in docs
div.tab-pane(id="docs_tab_#{doc.slug}")!= doc.html