Only show status update field if logged in.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Jul 2013 22:39:02 +0000 (00:39 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Jul 2013 22:39:02 +0000 (00:39 +0200)
src/main/resources/templates/include/updateStatus.html

index dde0486..e74c890 100644 (file)
@@ -1,3 +1,4 @@
+<%ifnull !currentSone>
 <form id="update-status" action="createPost.html" method="post">
        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
@@ -13,3 +14,4 @@
        <textarea class="rip-out status-input" name="text"></textarea>
        <button type="submit"><%= Page.Index.Button.Post|l10n|html></button>
 </form>
+<%/if>