Embedded people show view into the master layout.

This commit is contained in:
Lukas Halbritter
2018-09-25 15:09:26 +02:00
parent 89a86771b4
commit eef1ecca6b
+17 -9
View File
@@ -1,6 +1,13 @@
<a href='/people'>Zurück</a>
<h2>Stammdaten</h2>
<table border='1'>
@extends('layout.master')
@section('subnav')
<a href='/people'>Zurück</a>
<a href='/people/{{ $person->id }}/edit'>Bearbeiten</a>
@endsection
@section('content')
<h2>Stammdaten</h2>
<table border='1'>
<tr>
<td>ID</td>
<td>{{ $person->id }}</td>
@@ -45,9 +52,9 @@
<td>Geburtstag</td>
<td>{{ $person->date_of_birth }}</td>
</tr>
</table>
</table>
@if ($person->title != 'Firma')
@if ($person->title != 'Firma')
<h2>Mitgliederdaten</h2>
@if ($person->wasMember())
<table border='1'>
@@ -73,10 +80,10 @@
@else
<p>{{ $person->fullName() }} war nie Mitglied.</p>
@endif
@endif
@endif
<h2>Konto<h2>
<table border='1'>
<h2>Konto<h2>
<table border='1'>
<tr>
<th>&nbsp;</th>
<th>Datum</th>
@@ -105,4 +112,5 @@
</tr>
@endforeach
@endforeach
</table>
</table>
@endsection