Guest User

Untitled

a guest
Apr 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. how can i produce tags like those
  2.  
  3. <input id="person_contact_data__web_addresses__url" class="autofocus" type="text" value="" size="30" name="person[contact_data][web_addresses][][url]"/>
  4. <input id="person_contact_data__phone_numbers__number" class="autofocus" type="text" value="" size="30" name="person[contact_data][phone_numbers][][number]"/>
  5.  
  6. f.text_field within my form block
  7.  
  8. and then how can i manipulate them on my controler to add them in the database to Person model ?
Add Comment
Please, Sign In to add comment