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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <h1>Edit News Item</h1> 1 <h1>Edit News Item</h1>
2 2
3 <%= start_form_tag({:action => 'update', :id => @news_item}, :multipart => true) %> 3 <% form_tag({:action => 'update', :id => @news_item}, :multipart => true) do %>
4 <%= render :partial => 'form' %> 4 <%= render :partial => 'form' %>
5 <%= submit_tag 'Update this post' %> 5 <%= submit_tag 'Update this post' %>
6 <input type="button" value="Cancel" onClick="window.location='<%= url_for :act ion => 'index' %>'"> 6 <input type="button" value="Cancel" onClick="window.location='<%= url_for :act ion => 'index' %>'">
7 <%= end_form_tag %> 7 <% end %>
OLDNEW

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