diff --git a/app/views/messages/_course_show.html.erb b/app/views/messages/_course_show.html.erb index a11107a9b..2b834cf0a 100644 --- a/app/views/messages/_course_show.html.erb +++ b/app/views/messages/_course_show.html.erb @@ -173,10 +173,6 @@ <%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %> <% end %> - - - - <% if !@topic.locked? && authorize_for_course('messages', 'reply') %>
- <%= f.text_field :subject, :size => 60, :style => "width: 99%;", :id => "message_subject" %>
-
- <%= f.text_field :subject, :size => 60, :style => "width: 99%;", :id => "message_subject", :readonly => true %>
-
-<% unless replying %> - <% if @message.safe_attribute? 'sticky' %> - <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %> - <% end %> - <% if @message.safe_attribute? 'locked' %> - <%= f.check_box :locked %> <%= label_tag 'message_locked', l(:label_board_locked) %> - <% end %> -<% end %> -
--
- <%= text_area :quote,:quote,:style => 'display:none' %> - --<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> -<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %>
+ + <% unless replying %> +
+ <%= f.text_field :subject, :size => 60, :style => "width: 99%;", :id => "message_subject" %>
+
+ <%= f.text_field :subject, :size => 60, :style => "width: 99%;", :id => "message_subject", :readonly => true %>
+
+ <% unless replying %> + <% if @message.safe_attribute? 'sticky' %> + <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %> + <% end %> + <% if @message.safe_attribute? 'locked' %> + <%= f.check_box :locked %> <%= label_tag 'message_locked', l(:label_board_locked) %> + <% end %> + <% end %> +
++ +
+ <%= text_area :quote,:quote,:style => 'display:none' %> + ++ <%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> + <%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %> +
- + -<%= l(:label_attachment_plural) %>
-<%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %>
+ <%= l(:label_attachment_plural) %>
+
+ <%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %>
+