Adding The Same Input Field Multiple Times

As you may see in this image i.imgur.com/kKszZ4P.gif I have 3 tabs.

Those tabs represents birds, from left to right (bird, it’s mother, it’s father).

Each tab has exact the same input fields, it should have different name for those field so I can identify them, when I click Create button it should save inputs from each tab as new record in database.

How to accomplish that?

SOLUTION:How to use Multiple instances of the same model in the same form

http://www.yiiframework.com/wiki/362/how-to-use-multiple-instances-of-the-same-model-in-the-same-form/