Re: <%= @post.topic.title %>
<%= form_for [@topic, @post] do |f| %> <% if @post.errors.any? %> <% flash.now[:error] = @post.errors.full_messages.join(', and ') %> <% end %> <%= f.label :body %> <%= f.cktext_area :body, :style => "width:98%", :rows => 15 %>
<% end %>