dubdiff/client/components/modal/modal.jade

9 lines
421 B
Plaintext
Raw Permalink Normal View History

.modal-header
button.close(ng-if='modal.dismissable', type='button', ng-click='$dismiss()') ×
h4.modal-title(ng-if='modal.title', ng-bind='modal.title')
.modal-body
p(ng-if='modal.text', ng-bind='modal.text')
div(ng-if='modal.html', ng-bind-html='modal.html')
.modal-footer
button.btn(ng-repeat='button in modal.buttons', ng-class='button.classes', ng-click='button.click($event)', ng-bind='button.text')