codecombat/app/templates/play/level/modal/docs.jade
Scott Erickson d6e21192f5 Fixed #278
2014-01-27 16:59:34 -08:00

17 lines
578 B
Text

// TODO: refactor to be like other modals
.modal-dialog
.modal-header
button(type='button', data-dismiss="modal", aria-hidden="true").close ×
h3(data-i18n="play_level.guide_title") Guide
.modal-body
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
.modal-footer
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="modal.close").btn.btn-primary Close