diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml b/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml index 4caf1d06a0..0e92acb103 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml @@ -1,8 +1,8 @@ <h1>Editing <%= singular_name %></h1> <%%= start_form_tag :action => 'update<%= @suffix %>', :id => @<%= singular_name %> %> - <%%= render_partial "form" %> - <%%= submit_tag "Edit" %> + <%%= render_partial 'form' %> + <%%= submit_tag 'Edit' %> <%%= end_form_tag %> <%%= link_to 'Show', :action => 'show<%= suffix %>', :id => @<%= singular_name %> %> | |