Replace render_partial with render :partial in scaffold generator

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Nicholas Seckar
2005-08-17 19:36:22 +00:00
parent 7f32e83f25
commit 7ab71d3892
3 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
*SVN*
* Replace render_partial with render :partial in scaffold generator [Nicholas Seckar]
* Make the rake tasks (like fresh_rails_without_docs_using_links) aware of switchtower
* Added -w flag to ps in process/reaper #1934 [Scott Barron]

View File

@@ -1,7 +1,7 @@
<h1>Editing <%= singular_name %></h1>
<%%= start_form_tag :action => 'update<%= @suffix %>', :id => @<%= singular_name %> %>
<%%= render_partial 'form' %>
<%%= render :partial => 'form' %>
<%%= submit_tag 'Edit' %>
<%%= end_form_tag %>

View File

@@ -1,7 +1,7 @@
<h1>New <%= singular_name %></h1>
<%%= start_form_tag :action => 'create<%= @suffix %>' %>
<%%= render_partial 'form' %>
<%%= render :partial => 'form' %>
<%%= submit_tag "Create" %>
<%%= end_form_tag %>