@extends('layouts.mypage') @section('page-header')

My Children

@endsection @section('content')
@foreach($students as $student) @endforeach @if (count($students) <= 0) @endif
Name Gender Birth H/F Location School name
{{ $student->user->firstname }} {{ $student->user->lastname }} {{ $student->user->sex }} {{ $student->user->birth != '0000-00-00' ? date('m-d-Y', strtotime($student->user->birth)) : '' }} {{ $student->host ? $student->host->user->firstname : '' }} {{ $student->host ? $student->host->user->lastname : '' }} {{ $student->Street }} {{ $student->inputCity }} {{ $student->inputState }} {{ $student->school ? $student->school->school_name : '' }}
No children are connected.
@endsection