Reply form on the message view is displayed only if user is logged in.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@532 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-05-14 17:07:40 +00:00
parent 7ca7e4bad5
commit b11dd1f213
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
<div class="wiki"><p><%= textilizable message.content %></p></div> <div class="wiki"><p><%= textilizable message.content %></p></div>
<% end %> <% end %>
<% if @logged_in_user %>
<p><%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %></p> <p><%= toggle_link l(:button_reply), "reply", :focus => "reply_content" %></p>
<div id="reply" style="display:none;"> <div id="reply" style="display:none;">
<%= error_messages_for 'message' %> <%= error_messages_for 'message' %>
@ -27,3 +28,4 @@
<p><%= submit_tag l(:button_submit) %></p> <p><%= submit_tag l(:button_submit) %></p>
<% end %> <% end %>
</div> </div>
<% end %>