1 <h1><%= 'Edit Topic'[] %></h1>
3 <%= error_messages_for :topic %>
5 :url => topic_path(@forum, @topic),
6 :html => { :method => :put } do |f| -%>
7 <%= render :partial => "form", :object => f %>
9 <%= submit_tag 'Save Changes'[], :or => link_to('Cancel'[], topic_path(@forum, @topic)) %>