diff --git a/app/views/memos/edit.html.erb b/app/views/memos/edit.html.erb index 35543398f..04d95ae86 100644 --- a/app/views/memos/edit.html.erb +++ b/app/views/memos/edit.html.erb @@ -1,5 +1,5 @@ -<% @replying ||= false %> +<% @replying = !@memo.parent.nil? %>
<%= f.text_field :subject, :required => true, :size => 96 %>
+<%= f.text_field :subject, :required => true, :size => 96 ,:readonly => @replying%>
<% unless @replying %> <% if @memo.safe_attribute? 'sticky' %>