|
|
|
|
@ -9,7 +9,7 @@ |
|
|
|
|
<div class="user-child-form__tabs tabs__nav"> |
|
|
|
|
<a class="user-child-form__tab tabs__btn" v-for="(child, index) in childs" :key="index" href="#" |
|
|
|
|
v-bind:class="{active: selectedIndex == index}" @click.prevent="select(index)"> |
|
|
|
|
{{ child.first_name ? (child.first_name + ' ' + child.last_name) : ('Ребенок ' + index) }}</a> |
|
|
|
|
{{ child.first_name ? (child.first_name + ' ' + child.last_name) : ('Ребенок ' + (index || '')) }}</a> |
|
|
|
|
<a href="#" class="tabs__btn" @click.prevent="add()">Добавить ребенка</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|