mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
Fix up labels for controls in post settings menu
No issue
This commit is contained in:
parent
dc426e94b3
commit
1c3bc7e50d
@ -10,26 +10,27 @@
|
||||
{{gh-uploader uploaded="setCoverImage" canceled="clearCoverImage" image=image tagName="section"}}
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="blog-title">Post URL</label>
|
||||
<label for="url">Post URL</label>
|
||||
<span class="input-icon icon-link">
|
||||
{{gh-input class="post-setting-slug" id="url" value=slugValue name="post-setting-slug" focus-out="updateSlug" placeholder=slugPlaceholder selectOnClick="true" stopEnterKeyDownPropagation="true"}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="blog-title">Publish Date</label>
|
||||
<label for="post-setting-date">Publish Date</label>
|
||||
<span class="input-icon icon-calendar">
|
||||
{{gh-input class="post-setting-date" value=publishedAtValue name="post-setting-date" focus-out="setPublishedAt" placeholder=publishedAtPlaceholder stopEnterKeyDownPropagation="true"}}
|
||||
{{gh-input class="post-setting-date" id="post-setting-date" value=publishedAtValue name="post-setting-date" focus-out="setPublishedAt" placeholder=publishedAtPlaceholder stopEnterKeyDownPropagation="true"}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{{#unless session.user.isAuthor}}
|
||||
<div class="form-group for-select">
|
||||
<label for="activeTheme">Author</label>
|
||||
<label for="author-list">Author</label>
|
||||
<span class="input-icon icon-user">
|
||||
<span class="gh-select" tabindex="0">
|
||||
{{view Ember.Select
|
||||
name="post-setting-author"
|
||||
id="author-list"
|
||||
content=authors
|
||||
optionValuePath="content.id"
|
||||
optionLabelPath="content.name"
|
||||
@ -55,7 +56,7 @@
|
||||
<p>Turn this post into a static page</p>
|
||||
</label>
|
||||
|
||||
<label class="checkbox" for="static-page" {{action "toggleFeatured" bubbles="false"}}>
|
||||
<label class="checkbox" for="featured" {{action "toggleFeatured" bubbles="false"}}>
|
||||
{{input type="checkbox" name="featured" id="featured" class="post-setting-featured" checked=featured}}
|
||||
<span class="input-toggle-component"></span>
|
||||
<p>Feature this post</p>
|
||||
@ -76,14 +77,14 @@
|
||||
<div class="post-settings-content">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="blog-title">Meta Title</label>
|
||||
{{gh-input class="post-setting-meta-title" value=metaTitleScratch name="post-setting-meta-title" focus-out="setMetaTitle" stopEnterKeyDownPropagation="true"}}
|
||||
<label for="meta-title">Meta Title</label>
|
||||
{{gh-input class="post-setting-meta-title" id="meta-title" value=metaTitleScratch name="post-setting-meta-title" focus-out="setMetaTitle" stopEnterKeyDownPropagation="true"}}
|
||||
<p>Recommended: <b>70</b> characters. You’ve used {{gh-count-down-characters metaTitleScratch 70}}</p>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="blog-title">Meta Description</label>
|
||||
{{gh-textarea class="post-setting-meta-description" value=metaDescriptionScratch name="post-setting-meta-description" focus-out="setMetaDescription" stopEnterKeyDownPropagation="true"}}
|
||||
<label for="meta-description">Meta Description</label>
|
||||
{{gh-textarea class="post-setting-meta-description" id="meta-description" value=metaDescriptionScratch name="post-setting-meta-description" focus-out="setMetaDescription" stopEnterKeyDownPropagation="true"}}
|
||||
<p>Recommended: <b>156</b> characters. You’ve used {{gh-count-down-characters metaDescriptionScratch 156}}</p>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user