codecombat/app/templates/editor/poll/poll-edit-view.jade
Nick Winter e21360127d Polls!
2015-03-08 16:36:17 -07:00

31 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.