2014-04-08 02:45:03 -04:00
extends /templates/base
block content
2014-05-31 17:55:26 -04:00
if !unauthorized
div
ol.breadcrumb
li
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
li.active(data-i18n="#{currentEditor}")
| #{currentEditor}
2014-04-08 02:45:03 -04:00
2014-05-31 17:55:26 -04:00
if me.get('anonymous')
2014-11-29 11:54:08 -05:00
a.btn.btn-primary.open-modal-button(data-toggle="coco-modal", data-target="core/AuthModal", role="button", data-i18n="#{currentNewSignup}") Log in to Create a New Content
2014-05-31 17:55:26 -04:00
else
2014-08-05 08:33:33 -04:00
a.btn.btn-primary.open-modal-button#new-model-button(data-i18n="#{currentNew}") Create a New Something
2014-05-31 17:55:26 -04:00
input#search(data-i18n="[placeholder]#{currentSearch}")
hr
div.results
table
2014-04-08 02:45:03 -04:00
2014-05-31 17:55:26 -04:00
else
.alert.alert-danger
span Admin only. Turn around.
// TODO Ruben prettify