@extends('layouts.app') @section('content')
| Nama Panggilan | {{ $currentUser->nickname }} |
|---|---|
| Nama | {{ $currentUser->name }} |
| Jenis Kelamin | {{ $currentUser->gender }} |
| Ayah |
@if ($currentUser->father_id)
{{ $currentUser->father->nickname }}
@else
{{ Form::open(['route' => ['family-actions.set-father', $currentUser->id]]) }}
{{ Form::text('set_father', null, ['class' => 'form-control input-sm']) }}
{{ Form::submit('update', ['class' => 'btn btn-info btn-sm', 'id' => 'set_father_button']) }}
{{ Form::close() }}
@endif
|
| Ibu |
@if ($currentUser->mother_id)
{{ $currentUser->mother->nickname }}
@else
{{ Form::open(['route' => ['family-actions.set-mother', $currentUser->id]]) }}
{{ Form::text('set_mother', null, ['class' => 'form-control input-sm']) }}
{{ Form::submit('update', ['class' => 'btn btn-info btn-sm', 'id' => 'set_mother_button']) }}
{{ Form::close() }}
@endif
|
| Anak-Anak | |
|
|