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.
28 lines
1.2 KiB
28 lines
1.2 KiB
@extends('layouts.user-profile')
|
|
|
|
@section('subtitle', trans('user.marriages'))
|
|
|
|
@section('user-content')
|
|
|
|
<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.wife') }}</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'), [$marriage->id], ['class' => 'btn btn-default btn-xs']) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
@endsection
|