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

Side by Side Diff: app/views/news/new.rhtml

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 5 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>Post News</h1> 1 <h1>Post News</h1>
2 2
3 <%= start_form_tag({:action => 'create'}, :multipart => true) %> 3 <% form_tag({:action => 'create'}, :multipart => true) do %>
4 <%= render :partial => 'form' %> 4 <%= render :partial => 'form' %>
5 <%= submit_tag "Post it up!" %> 5 <%= submit_tag "Post it up!" %>
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 r497