search for: user_form

Displaying 4 results from an estimated 4 matches for "user_form".

2006 Mar 07
12
rjs and partials
I''m trying to update a list, and having a hard time applying visual effects to the latest element created. Here is what I''m doing. =========================================== 1) Creating an "item" via an action, then rendering the RJS template 2) RJS template looks like this: page.insert_html :top, ''items'', :partial =>
2006 Mar 13
3
problem updating mulitple divs with ajax
i''m having some issues updating multiple divs via ajax. perhaps someone can lend some assistance. i''ve got 2 divs: user_list and user_form. when a person clicks the "edit this user" or "add new user" link the user_form div is updated via an ajax call and the form is shown in the user_form div. this form is a remote form. it submits to either the update or create action in the admin/users controller. i''...
2009 Jul 01
2
Nested Forms - how to displayed the attributes content ?
...layed but it''s in the db account record #<User id: 1, email: "yves-oHC15RC7JGRl57MIdRCFDg@public.gmane.org", .. #<Account id: 4, user_id: 1, title: 0, first_name: "Yves", ... my view ... <% form_for :user, :url => { :action => "update" } do |user_form| %> <% user_form.fields_for :account_attributes do |account_fields| %> <li> <label for="user_firstname">First Name</label> <%= account_fields.text_field :first_name, :size => "30" %> </li> ..... what am I missing...
2006 May 18
6
Form actions with additional parameters
Hiall, I want to give the action of a form an additional parameters but can''t figure out how to do it. My code looks like this <%= start_form_tag :action => ''create'', next_step => true %> <%= render :partial => ''user_form'' %> <%= render :partial => ''community_form'' %> <%= submit_tag "Optional Next Step" %> <%= end_form_tag %> <%= button_to ''Skip Next Step'', :action => ''create'', next_step => false %>...