Displaying 1 result from an estimated 1 matches for "account_form".
2006 Nov 04
0
Check_box woes
...ck with the check_box helpers setting this up.
Here''s my form (edit_address.rhtml -- you''ll see that I have some
fields for both user and address objects in the form)
<% form_for :address, :url => { :action => "edit_address" }, :html =>
{:id => ''account_form''} do |f| %>
<dl>
<% fields_for :user, @address.user do |u| %>
<dt><label for="first_name">First name:</label></dt>
<dd><%= u.text_field :first_name, :size => "30" %></dd>
<dt><label for="...