codecombat/app/templates/editor/modal/confirm-modal.jade

12 lines
377 B
Text
Raw Normal View History

2016-03-09 17:40:52 -05:00
extends /templates/core/modal-base-flat
block modal-header-content
h3= view.title
block modal-body-content
2016-03-09 17:40:52 -05:00
p!= view.body
block modal-footer-content
button.btn.btn-secondary#decline-button(type="button", data-dismiss="modal")= view.decline
button.btn.btn-primary#confirm-button(type="button", data-dismiss=closeOnConfirm === true ? "modal" : undefined)= view.confirm