

{!! Form::model($categories, ['route' => ['categories.update', $categories->id], 'method' => 'patch','id'=>'formajax','enctype'=>'multipart/form-data']) !!}

<div class="card-body">
    <div class="row">
        @include('categories.fields')
    </div>
</div>

<div class="action-btn">
    {!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
</div>

{!! Form::close() !!}
