mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 08:38:09 -05:00
23 lines
1,011 B
Text
23 lines
1,011 B
Text
extends /templates/modal/new_model
|
|
|
|
block modal-body-content
|
|
form.form
|
|
.form-group
|
|
label.control-label(for="name", data-i18n="general.name") Name
|
|
input#name.form-control(name="name", type="text")
|
|
.form-group
|
|
label.control-label(for="description" data-i18n="general.description") Description
|
|
input#description.form-control(name="description", type="text")
|
|
h4(data-i18n="editor.achievement_query_misc") Key achievement off of miscellanea
|
|
.radio
|
|
label
|
|
input(type="checkbox", name="queryOptions" id="misc-level-completion" value="misc-level-completion")
|
|
span.spl(data-i18n="editor.level_completion") Level Completion
|
|
- var goals = level.get('goals');
|
|
if goals && goals.length
|
|
h4(data-i18n="editor.achievement_query_goals") Key achievement off of level goals
|
|
each goal in goals
|
|
.radio
|
|
label
|
|
input(type="checkbox", name="queryOptions" id="#{goal.id}" value="#{goal.id}")
|
|
span.spl= goal.name
|