@extends('layouts.app') @section('content')
{{ Form::model($agent, [ 'route' => [ 'agents.documents.update', $agent->id ], 'class' => 'form', 'method' => 'PUT', 'files' => true, 'onsubmit' => auth()->user()->hasRole('agent') ? 'return confirm("Updating your documents will require you be approved again, are you sure")' : '', ]) }}
My Account

Please note an admin will be notified of any changes and new email addresses will require validation.

{{ Form::submit('Update Documents', ['class' => 'btn btn--primary form__btn']) }}
@include('agents.partials.tabs') @include('agents.documents.form') {{ Form::close() }}
@endsection