summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/messages/show.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/messages/show.rhtml b/app/views/messages/show.rhtml
index 8f3d83a7e..8068da011 100644
--- a/app/views/messages/show.rhtml
+++ b/app/views/messages/show.rhtml
@@ -18,6 +18,7 @@
<div class="wiki"><p><%= textilizable message.content %></p></div>
<% end %>
+<% if @logged_in_user %>
<p><%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %></p>
<div id="reply" style="display:none;">
<%= error_messages_for 'message' %>
@@ -27,3 +28,4 @@
<p><%= submit_tag l(:button_submit) %></p>
<% end %>
</div>
+<% end %> \ No newline at end of file