Displaying 2 results from an estimated 2 matches for "person_first_nam".
Did you mean:
person_first_name
2006 Jul 11
0
Arbitrary elements in form_for?
...mHelper, this is listed in its README file:
-----------
<% form_for :person, @person, :url => { :action => "update" } do |f| %>
First name: <%= f.text_field :first_name %>
<% end %>
<form action="update">
<p><label for="person_first_name">First Name</label><br /><input
type="text" id="person_first_name" name="person[first_name]" /></p>
</form>
---------
Can it really detect the random text "First name:" and wrap it in a
label? Seems unlikely to me.
T...
2006 May 20
10
HOW TO create a new record and its associated objects within the SAME PAGE
hi,
can''t find any good tutorial or advice to deal with the creation of a
new record and it''s associated objects within the same page.
do i have to use ajax just to add custom form fields that will be
handled by the controller for associated objects creation.?
do i have to use ajax to add associated objects to the unsaved but
allready in session parent object?
what''s