I currently have these fields (`:name :email :password :password_confirmation :image :desktopinfo`) on one form. I would like to have `:image` and `:desktopinfo` on another page as well.

The current code for the first form is this:

```
<%= form_for(@user, :html => { :multipart => true }) do |f| %>
    <%= render 'shared/error_messages', :object => f.object %>
    <%= f.label :name %>
    <%= f.text_field :name %>

    <%= f.label :email %>
    <%= f.text_field :email %>

    <%= f.label :password %>
    <%= f.password_field :password %>

    <%= f.label :password_confirmation, "Confirmation" %>
    <%= f.password_field :password_confirmation %>

    <%= f.label :image %>
     <%= f.file_field :image %>

    <%= f.label :desktopinfo, "Desktop Info" %>
    <%= f.text_area :desktopinfo %>
    <%= f.submit "Update" %>
<% end %> 

```

When adding the following code to the separate page, it goes to the edit page (with the code above) and errors saying the password needs to be entered.

```
<%= form_for(@user, :html => { :multipart => true }) do |u| %>
    <%= render 'shared/error_messages', :object => u.object %>
    <%= u.label :image %>
    <%= u.file_field :image %>

    <%= u.label :desktopinfo, "Desktop Info" %>
    <%= u.text_area :desktopinfo %>
    <%= u.submit "Update" %>
<% end %>

```

This is a pain as I want the info (`:image` and `:desktopinfo`) to change without needing a password to be entered. As you can see I changed the `f.label` to `u.label` on the second form. Does this make any difference?

How would I go about doing this? 

Thanks! Dean

**UPDATE**

The current code in the Users controller is:

```
def update
    if @user.update_attributes(params[:user])
        redirect_to @user, :flash => { :success => "Profile updated." }
    else
        @title = "Edit user"
        render 'edit'
    end
end

```

Where would I put `@user.update_attributes!(:image => params[:image], :desktopinfo => params[:desktopinfo])`

Also, I am getting `undefined local variable or method`update\_user\_path'`.