mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-26 07:22:53 -05:00
19 lines
787 B
Text
19 lines
787 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3(data-i18n="editor.new_component_title") Create New Component
|
|
|
|
block modal-body-content
|
|
form.form
|
|
.form-group
|
|
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 view.systems
|
|
option(value=system)= system
|
|
.form-group
|
|
label(for="level-component-name", data-i18n="general.name").control-label Name
|
|
input.form-control#level-component-name(name="name", type="text")
|
|
|
|
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
|