mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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]
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user