@extends('layout') @section('title', __('admin_child.title')) @php $child = request()->route('child'); $thumb = empty(old('thumbnail'))?'' : old('thumbnail'); $thumb = empty($thumb) && !empty($child)?$child->thumbnail:$thumb; $father = null; $mother = null; $parents = $child->parents; foreach ($parents as $parent) { if ($parent->relationship == 'F') { $father = $parent; } else { $mother = $parent; } } @endphp @section('content_header') @component('common.alert', ['type'=>session('flash')['type']]) {{session('flash')['message']}} @endcomponent @stop @section('content')

@lang('common.child_profile')

@if(empty($thumb)) @else @endif

C{{ $child->id }}

{{ csrf_field() }}

{{ $child->first_name }} {{ $child->last_name }}

@lang('common.date_of_birth'): {{ $child->date_birth }}

@lang('common.child_profile')

@lang('common.child_first_name')

@if ($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif

@lang('common.child_last_name')

@if ($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif

@lang('common.gender')

@lang('common.date_of_birth')

@if ($errors->has('date_birth'))
{{ $errors->first('date_birth') }}
@endif
@lang('common.parent_profile')

@lang('common.father'): {{ empty($father)?'':$father->first_name.' '.$father->last_name }}

@lang('common.father_email'): {{ $child->father_email }}

@lang('common.mother'): {{ empty($mother)?'':$mother->first_name.' '.$mother->last_name }}

@lang('common.mother_email'): {{ $child->mother_email }}

@lang('common.father_first_name')

@if ($errors->has('father_first_name'))
{{ $errors->first('father_first_name') }}
@endif

@lang('common.father_last_name')

@if ($errors->has('father_last_name'))
{{ $errors->first('father_last_name') }}
@endif

@lang('common.father_email')

@if ($errors->has('father_email'))
{{ $errors->first('father_email') }}
@endif

@lang('common.mother_first_name')

@if ($errors->has('mother_first_name'))
{{ $errors->first('mother_first_name') }}
@endif

@lang('common.mother_last_name')

@if ($errors->has('mother_last_name'))
{{ $errors->first('mother_last_name') }}
@endif

@lang('common.mother_email')

@if ($errors->has('mother_email'))
{{ $errors->first('mother_email') }}
@endif
@stop @section('js') @stop @extends('layout') @section('title', __('admin_educator.title')) @php //$educator = request()->route('educator'); $thumb = empty(old('thumbnail'))?'' : old('thumbnail'); $thumb = empty($thumb) && !empty($educator)?$educator->thumbnail:$thumb; @endphp @section('content')

@lang('common.educator_profile')

@if(empty($thumb)) @else @endif

E{{ $educator->id }}

@lang('common.educator_profile')
@lang('common.back')
{{ csrf_field() }}
@if ($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if ($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@stop @section('js') @stop Journal de Bord

User Sign Up