Return to original page after creating the post.
[Sone.git] / src / main / resources / templates / include / updateStatus.html
index 129c526..a769503 100644 (file)
@@ -1,6 +1,7 @@
 <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" />
                <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>