Auto-focus the post text box on new post
This commit is contained in:
parent
44d35c6ccb
commit
c943864edc
2 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<input type="text" name="title" class="form-control" placeholder="Title" value="{{ .post.Title }}">
|
||||
</div>
|
||||
<div>
|
||||
<textarea name="body" class="form-control" rows="3">{{.post.Body}}</textarea>
|
||||
<textarea data-postedit-target="bodyTextEdit" name="body" class="form-control" rows="3">{{.post.Body}}</textarea>
|
||||
</div>
|
||||
<div>
|
||||
{{ if $isPublished }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue