codecombat/app/templates/editor/level/component/new.jade

21 lines
861 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/modal/modal_base
2014-01-10 16:31:26 -05:00
block modal-header-content
h3(data-i18n="editor.new_component_title") Create New Component
2014-01-03 13:32:13 -05:00
block modal-body-content
2014-01-27 21:44:05 -05:00
form.form
.form-group
2014-01-12 15:24:02 -05:00
label(for="level-component-system", data-i18n="editor.new_component_field_system").control-label System
select.form-control#level-component-system(name='system')
for system in systems
option(value=system)= system
//input.form-control#level-component-system(name="system", type="text")
2014-01-27 21:44:05 -05:00
.form-group
label(for="level-component-name", data-i18n="general.name").control-label Name
2014-01-27 21:44:05 -05:00
input.form-control#level-component-name(name="name", type="text")
2014-01-03 13:32:13 -05:00
block modal-footer-content
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
button(data-i18n="common.create").btn.btn-primary#new-level-component-submit Create