Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(30)

Unified Diff: app/views/news/edit.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
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 %>

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483