0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

Merge pull request #3341 from PaulAdamDavis/psm-class-ammend

Correct markup for the PSM author dropdown
This commit is contained in:
Hannah Wolfe 2014-07-22 01:12:45 +01:00
commit 1b5a682e13

View file

@ -1,47 +1,47 @@
<form> <form>
<table class="plain"> <table class="plain">
<tbody> <tbody>
<tr class="post-setting"> <tr class="post-setting">
<td class="post-setting-label"> <td class="post-setting-label">
<label for="url">URL</label> <label for="url">URL</label>
</td> </td>
<td class="post-setting-field"> <td class="post-setting-field">
{{gh-blur-input class="post-setting-slug" id="url" value=slugValue name="post-setting-slug" action="updateSlug" placeholder=slugPlaceholder selectOnClick="true"}} {{gh-blur-input class="post-setting-slug" id="url" value=slugValue name="post-setting-slug" action="updateSlug" placeholder=slugPlaceholder selectOnClick="true"}}
</td> </td>
</tr> </tr>
<tr class="post-setting"> <tr class="post-setting">
<td class="post-setting-label"> <td class="post-setting-label">
<label for="pub-date">Pub Date</label> <label for="pub-date">Pub Date</label>
</td> </td>
<td class="post-setting-field"> <td class="post-setting-field">
{{gh-blur-input class="post-setting-date" value=publishedAtValue name="post-setting-date" action="setPublishedAt" placeholder=publishedAtPlaceholder}} {{gh-blur-input class="post-setting-date" value=publishedAtValue name="post-setting-date" action="setPublishedAt" placeholder=publishedAtPlaceholder}}
</td> </td>
</tr> </tr>
<tr class="post-setting"> <tr class="post-setting">
<td class="post-setting-label"> <td class="post-setting-label">
<label for="post-setting-author">Author</label> <label for="post-setting-author">Author</label>
</td> </td>
<td class="post-setting-field"> <td class="post-setting-field">
<span class="author-select-wrapper" {{bind-attr data-select-text=selectedAuthor.name}}> <span class="gh-select">
{{view Ember.Select {{view Ember.Select
name="post-setting-author" name="post-setting-author"
content=authors content=authors
optionValuePath="content.id" optionValuePath="content.id"
optionLabelPath="content.name" optionLabelPath="content.name"
selection=selectedAuthor}} selection=selectedAuthor}}
</span> </span>
</td> </td>
</tr> </tr>
<tr class="post-setting"> <tr class="post-setting">
<td class="post-setting-label"> <td class="post-setting-label">
<label class="label" for="static-page">Static Page</label> <label class="label" for="static-page">Static Page</label>
</td> </td>
<td class="post-setting-item"> <td class="post-setting-item">
{{input type="checkbox" name="static-page" id="static-page" class="post-setting-static-page" checked=page}} {{input type="checkbox" name="static-page" id="static-page" class="post-setting-static-page" checked=page}}
<label class="checkbox" for="static-page" {{action 'togglePage' bubbles="false"}}></label> <label class="checkbox" for="static-page" {{action 'togglePage' bubbles="false"}}></label>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</form> </form>
<button class="delete" {{action "openModal" "delete-post" this}}>Delete This Post</button> <button class="delete" {{action "openModal" "delete-post" this}}>Delete This Post</button>