mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
ff5af6c29b
closes #2419 - Added blur-text-field component, which fires actions on focusOut - Added utils/date-formatting for moment & date functionality consolidation - Added functionality to PostsPostController - Added fixtures: posts/3 & posts/4, posts/slug/test%20title/ - Added Post model saving - Set posts.post as controller for EditorRoute - Added PostSettingsMenuView and template - Added "showErrors" convenience method to notifications
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">
|
|
{{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">
|
|
{{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' post}}>Delete This Post</a>
|