Edit Topic
<%= error_messages_for :topic %>
<% form_for :topic,
:url => topic_path(@forum, @topic),
:html => { :method => :put } do |f| -%>
<%= render :partial => "form", :object => f %>
<%= submit_tag 'Save Changes', :or => link_to('Cancel', topic_path(@forum, @topic)) %>
<% end -%>
Formatting Help
- *bold* _italics_ bq. (quotes)
- "IBM":http://www.ibm.com
- * or # (lists)
See also the Textile reference here.
Don't worry about making mistakes - after adding a reply, you can edit
your message as many times as you like.