You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.3 KiB
29 lines
1.3 KiB
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<h1 class="page-header">
|
|
{{ $user->name }} <small>{{ trans('user.marriages') }}</small>
|
|
</h1>
|
|
|
|
<div class="row">
|
|
@foreach ($marriages as $marriage)
|
|
<div class="col-md-4">
|
|
<div class="panel panel-default">
|
|
<table class="table table-condensed">
|
|
<tr><th class="col-xs-5">{{ trans('couple.husband') }}</th><td>{{ $marriage->husband->profileLink() }}</th></tr>
|
|
<tr><th>{{ trans('couple.wive') }}</th><td>{{ $marriage->wife->profileLink() }}</th></tr>
|
|
<tr><th>{{ trans('couple.marriage_date') }}</th><td>{{ $marriage->marriage_date }}</th></tr>
|
|
@if ($marriage->divorce_date)
|
|
<tr><th>{{ trans('couple.divorce_date') }}</th><td>{{ $marriage->divorce_date }}</th></tr>
|
|
@endif
|
|
<tr><th>{{ trans('couple.childs_count') }}</th><td>{{ $marriage->childs_count }}</th></tr>
|
|
{{-- <tr><th>{{ trans('couple.grand_childs_count') }}</th><td>?</th></tr> --}}
|
|
</table>
|
|
{{-- <div class="panel-footer">
|
|
{{ link_to_route('couples.show', trans('couple.show'), [$user->id], ['class' => 'btn btn-default btn-xs']) }}
|
|
</div> --}}
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endsection
|