9 lines
370 B
Plaintext
9 lines
370 B
Plaintext
<div .modal.js-modal #modal-#{modalId} data-trigger=#{modalTrigger} data-closeable=true>
|
|
$# primitive way of checking if this is supposed to be add a placeholder for async data.
|
|
$# modalContent is 'placeholder' if there should be a placeholder only.
|
|
$# 'placeholder' has length 11.
|
|
$if 11 == length modalContent
|
|
<div .replace-me>
|
|
$else
|
|
#{modalContent}
|