mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
20 lines
629 B
Handlebars
20 lines
629 B
Handlebars
|
<header class="modal-header">
|
||
|
<h1>Update this snippet?</h1>
|
||
|
</header>
|
||
|
<a class="close" href="" role="button" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
||
|
|
||
|
<div class="modal-body">
|
||
|
<p>
|
||
|
Previous content for "<strong>{{this.snippet.name}}</strong>" will be overwritten.
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="modal-footer">
|
||
|
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
|
||
|
<GhTaskButton
|
||
|
@buttonText="Update"
|
||
|
@successText="Updated"
|
||
|
@task={{this.updateSnippet}}
|
||
|
@class="gh-btn gh-btn-red gh-btn-icon" />
|
||
|
</div>
|