Commit 8c9febe5 by Ibrahim Awwal

Add quotes to fix thread editor title bug.

parent 712e59a6
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<a href="${'<%- user_url %>'}" class="username">${'<%- username %>'}</a> <a href="${'<%- user_url %>'}" class="username">${'<%- username %>'}</a>
${"<% } else {print('anonymous');} %>"} ${"<% } else {print('anonymous');} %>"}
<span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> <span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span>
<span class="post-status-closed top-post-status" style="display: none"> <span class="post-status-closed top-post-status" style="display: none">
&bull; This thread is closed. &bull; This thread is closed.
</span> </span>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<h1>Editing post</h1> <h1>Editing post</h1>
<ul class="edit-post-form-errors"></ul> <ul class="edit-post-form-errors"></ul>
<div class="form-row"> <div class="form-row">
<input type="text" class="edit-post-title" name="title" value=${"<%-title %>"} placeholder="Title"> <input type="text" class="edit-post-title" name="title" value="${"<%-title %>"}" placeholder="Title">
</div> </div>
<div class="form-row"> <div class="form-row">
<div class="edit-post-body" name="body"> <div class="edit-post-body" name="body">
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</div> </div>
</div> </div>
<div class="form-row"> <div class="form-row">
<input type="text" class="edit-post-tags" name="tags" placeholder="Tags" value=${"<%- tags %>"}> <input type="text" class="edit-post-tags" name="tags" placeholder="Tags" value="${"<%- tags %>"}">
</div> </div>
<input type="submit" class="post-update" value="Update post"> <input type="submit" class="post-update" value="Update post">
<a href="#" class="post-cancel">Cancel</a> <a href="#" class="post-cancel">Cancel</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment