Fix posting of comments.
[Sone.git] / src / main / resources / templates / include / updateStatus.html
index 129c526..63b4b8f 100644 (file)
@@ -1,8 +1,9 @@
 <div id="update-status">
        <form action="createPost.html" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+               <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                <label for="text"><%= Page.Index.Label.Text|l10n|html></label>
-               <input class="status-input" name="text" />
+               <input class="status-input" name="text" value="" />
                <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
        </form>
 </div>