| Index: app/views/news/edit.rhtml |
| =================================================================== |
| --- app/views/news/edit.rhtml (revision 36) |
| +++ app/views/news/edit.rhtml (working copy) |
| @@ -1,7 +1,7 @@ |
| <h1>Edit News Item</h1> |
| -<%= start_form_tag({:action => 'update', :id => @news_item}, :multipart => true) %> |
| +<% form_tag({:action => 'update', :id => @news_item}, :multipart => true) do %> |
| <%= render :partial => 'form' %> |
| <%= submit_tag 'Update this post' %> |
| <input type="button" value="Cancel" onClick="window.location='<%= url_for :action => 'index' %>'"> |
| -<%= end_form_tag %> |
| +<% end %> |