Permalink
Browse files

Show with local vars

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 947cec2 commit 0306127bb520bb8d63c252a065b066d70fe17613 @dhh dhh committed Nov 13, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/CHANGELOG
View
@@ -9,11 +9,11 @@
Admin? : <%= f.check_box :admin %>
<% end %>
- <% form_for :person => @person, :url => { :action => "update" } do |person_form| %>
+ <% form_for :person => person, :url => { :action => "update" } do |person_form| %>
First name: <%= person_form.text_field :first_name %>
Last name : <%= person_form.text_field :last_name %>
- <% fields_for :permission => @person.permission do |permission_fields| %>
+ <% fields_for :permission => person.permission do |permission_fields| %>
Admin? : <%= permission_fields.check_box :admin %>
<% end %>
<% end %>

0 comments on commit 0306127

Please sign in to comment.