@extends('modal')
@section('content')
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5 class="modal-title">{{ trans('application.edit_client') }}</h5>
        </div>
        {!! Form::model($client, ['route' => ['clients.update', $client->uuid], 'method' => 'PATCH', 'class' => 'ajax-submit'] ) !!}
        <div class="modal-body">
            @if (count($errors) > 0)
                {!! form_errors($errors) !!}
            @endif
            @include('clients.partials._form')
         </div>
        <div class="modal-footer">
            {!! form_buttons() !!}
        </div>
        {!! Form::close() !!}
    </div>
</div>
@endsection