mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 11:35:37 +08:00
31 lines
704 B
Handlebars
31 lines
704 B
Handlebars
<div class="modal-outer-container">
|
|
<div class="modal-middle-container">
|
|
<div class="modal-inner-container">
|
|
<div class="modal-header">
|
|
<div class='modal-close'>
|
|
<a class="close" {{action closeModal}}>{{d-icon "times"}}</a>
|
|
</div>
|
|
|
|
<div class="title">
|
|
<h3>{{title}}</h3>
|
|
|
|
{{#if subtitle}}
|
|
<p>{{subtitle}}</p>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
|
|
<div id='modal-alert'></div>
|
|
|
|
{{yield}}
|
|
|
|
{{#each errors as |error|}}
|
|
<div class="alert alert-error">
|
|
<button class="close" data-dismiss="alert">×</button>
|
|
{{error}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
</div>
|