mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
39967b02da
Closes #2849 -wire up delete post action in ember admin -refactor ember modal dialog -override RESTAdapter.deleteRecord to workaround Ember expecting an empty response body on DELETEs
33 lines
1.4 KiB
Handlebars
33 lines
1.4 KiB
Handlebars
<form>
|
|
<table class="plain">
|
|
<tbody>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<label for="url">URL</label>
|
|
</td>
|
|
<td class="post-setting-field">
|
|
{{gh-blur-text-field class="post-setting-slug" id="url" value=newSlug action="updateSlug" placeholder=slugPlaceholder selectOnClick="true"}}
|
|
</td>
|
|
</tr>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<label for="pub-date">Pub Date</label>
|
|
</td>
|
|
<td class="post-setting-field">
|
|
{{gh-blur-text-field class="post-setting-date" value=view.publishedAt action="updatePublishedAt" placeholder=view.datePlaceholder}}
|
|
</td>
|
|
</tr>
|
|
<tr class="post-setting">
|
|
<td class="post-setting-label">
|
|
<label class="label" for="static-page">Static Page</label>
|
|
</td>
|
|
<td class="post-setting-item">
|
|
{{input type="checkbox" name="static-page" id="static-page" class="post-setting-static-page" checked=isStaticPage}}
|
|
<label class="checkbox" for="static-page"></label>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
<a class="delete" {{action "openModal" "delete-post" this}}>Delete This Post</a>
|