2018-08-31 14:47:04 +00:00
|
|
|
@extends('settings.layouts.app')
|
2018-08-06 12:30:51 +00:00
|
|
|
|
|
|
|
@section('content')
|
2018-08-29 15:18:15 +00:00
|
|
|
<div class="header">
|
|
|
|
<h3 class="header-title">
|
2018-09-10 13:09:10 +00:00
|
|
|
Edit {{ $person->full_name }}
|
2018-08-29 15:18:15 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
2018-08-06 12:30:51 +00:00
|
|
|
|
2018-08-29 15:18:15 +00:00
|
|
|
<div class="pure-g box-content">
|
2018-08-06 12:30:51 +00:00
|
|
|
|
2018-08-29 15:18:15 +00:00
|
|
|
<div class="pure-u-1 pure-u-md-2-3">
|
|
|
|
<div>
|
|
|
|
<a href="{{ route('settings.person') }}" class="pure-button button-small">
|
|
|
|
<i class="fa fa-chevron-left"></i>
|
|
|
|
<span>BACK</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
{!! Form::model($person, ['method' => 'PATCH', 'route' => ['settings.person.update', $person->id],'class' => 'pure-form pure-form-aligned']) !!}
|
2018-08-06 12:30:51 +00:00
|
|
|
|
2018-08-29 15:18:15 +00:00
|
|
|
@include('settings/person/_form', ['submitButtonText' => 'Save Person'])
|
2018-08-06 12:30:51 +00:00
|
|
|
|
2018-08-29 15:18:15 +00:00
|
|
|
{!! Form::close() !!}
|
|
|
|
</div>
|
2018-08-06 12:30:51 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-u-1 pure-u-md-1-3">
|
|
|
|
<div class="sidebar">
|
|
|
|
@foreach ($person->documents as $document)
|
|
|
|
<p>document role: {{ $document->pivot->role }}</p>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|