mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 10:35:51 -05:00
32 lines
805 B
Text
32 lines
805 B
Text
|
extends /templates/base
|
||
|
|
||
|
block content
|
||
|
if !unauthorized
|
||
|
ol.breadcrumb
|
||
|
li
|
||
|
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
|
||
|
li
|
||
|
a(href="/editor/poll", data-i18n="editor.poll_title") Poll Editor
|
||
|
li.active
|
||
|
| #{poll.attributes.name}
|
||
|
|
||
|
button.poll-tool-button(data-i18n="common.delete", disabled=!me.isAdmin()).btn.btn-primary#delete-button Delete
|
||
|
button.poll-tool-button(data-i18n="common.save", disabled=!me.isAdmin()).btn.btn-primary#save-button Save
|
||
|
|
||
|
h3(data-i18n="poll.edit_poll_title") Edit Poll
|
||
|
span
|
||
|
|: "#{poll.attributes.name}"
|
||
|
|
||
|
#poll-treema
|
||
|
|
||
|
#poll-view.clearfix
|
||
|
|
||
|
h3(data-i18n="resources.patches") Patches
|
||
|
.patches-view
|
||
|
|
||
|
hr
|
||
|
|
||
|
else
|
||
|
.alert.alert-danger
|
||
|
span Admin only. Turn around.
|