@for($i = 1; $i <= ($is_twins ? 2 : 1); $i++)
@if($i == 1)
@else
Second Child Form:
@endif
@if ($errors->has('gender.'.$i))
{{ $errors->first('gender.'.$i) }}
@endif
@if ($errors->has('religion.'.$i))
{{ $errors->first('religion.'.$i) }}
@endif
@if ($errors->has('caste.'.$i))
{{ $errors->first('caste.'.$i) }}
@endif
@if ($errors->has('blood_group.'.$i))
{{ $errors->first('blood_group.'.$i) }}
@endif