beast rev 2066
[beast-modified.git] / app / views / topics / edit.html.erb
blob66de4a8cb8fd2fd4f29afd3c6949b270db9416da
1 <h1><%= 'Edit Topic'[] %></h1>
3 <%= error_messages_for :topic %>
4 <% form_for :topic,
5      :url  => topic_path(@forum, @topic),
6      :html => { :method => :put } do |f| -%>
7 <%= render :partial => "form", :object => f %>
8 <br />
9 <%= submit_tag 'Save Changes'[], :or => link_to('Cancel'[], topic_path(@forum, @topic)) %>
10 <% end -%>