%= form_for [@forum, @topic] do |f| %>
<% if @topic.errors.any? %>
<% flash.now[:error] = @topic.errors.full_messages.join(', and ') %>
<% end %>
<%= f.label :title %>
(Required)
<%= f.text_field :title, :size => 75 %>
<% unless @topic.id %>
<%= f.label :body %>
(Required)
<%= f.text_area :body, :cols => 60, :rows => 15 %>
<% end %>
<% end %>