mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
29 lines
1 KiB
Text
29 lines
1 KiB
Text
extends /templates/base
|
|
|
|
block content
|
|
div
|
|
ol.breadcrumb
|
|
li
|
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
|
li
|
|
a(href="/editor/article", data-i18n="editor.article_title") Article Editor
|
|
li.active
|
|
| #{article.attributes.name}
|
|
|
|
button(data-i18n="general.history").btn.btn-primary#history-button History
|
|
button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true").btn.btn-primary#revert-button Revert
|
|
button(data-i18n="article.edit_btn_preview", disabled=authorized === true ? undefined : "true").btn.btn-primary#preview-button Preview
|
|
button(data-toggle="coco-modal", data-target="modal/save_version", data-i18n="common.save", disabled=authorized === true ? undefined : "true").btn.btn-primary#save-button Save
|
|
|
|
h3(data-i18n="article.edit_article_title") Edit Article
|
|
span
|
|
|: "#{article.attributes.name}"
|
|
|
|
#article-treema
|
|
|
|
#article-view
|
|
|
|
hr
|
|
|
|
div#error-view
|
|
|