codecombat/app/templates/editor/article/edit.jade

33 lines
1 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/base
block content
div
ol.breadcrumb
li
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
li
2014-03-03 15:22:04 -05:00
a(href="/editor/article", data-i18n="editor.article_title") Article Editor
li.active
| #{article.attributes.name}
2014-04-07 18:49:27 -04:00
button(data-i18n="general.version_history").btn.btn-primary#history-button Version History
button(data-toggle="coco-modal", data-target="modal/RevertModal", 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-i18n="common.save", disabled=authorized === true ? undefined : "true").btn.btn-primary#save-button Save
2014-01-03 13:32:13 -05:00
h3(data-i18n="article.edit_article_title") Edit Article
span
|: "#{article.attributes.name}"
2014-01-03 13:32:13 -05:00
#article-treema
#article-view
h3 Patches
.patches-view
2014-01-03 13:32:13 -05:00
hr
div#error-view