<div class="pt-2 pb-6">
|
|
|
|
<nav class="text-black font-bold" aria-label="Breadcrumb">
|
|
<ol class="list-none p-0 inline-flex">
|
|
<li class="flex items-center">
|
|
<span>
|
|
{{ __('associates.model') }}
|
|
</span>
|
|
@svg('breadcrumb-separator', 'fill-current w-3 h-3 mx-3')
|
|
</li>
|
|
<li class="flex items-center">
|
|
<a href="{{ route('collaborators.associates.index') }}">
|
|
{{ __('associates.index') }}
|
|
</a>
|
|
@svg('breadcrumb-separator', 'fill-current w-3 h-3 mx-3')
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('collaborators.associates.edit', compact('associate')) }}" class="text-gray-500" aria-current="page">
|
|
{{ __('associates.edit') }}
|
|
</a>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<form wire:submit.prevent="save" class="max-w-7xl mx-auto mt-6">
|
|
|
|
@include('livewire.associates.partials.forms.individual')
|
|
|
|
<div class="flex items-center justify-end space-x-4 pt-12">
|
|
|
|
@if (session()->has('notify-saved'))
|
|
<span
|
|
x-data="{ open: true }"
|
|
x-init="setTimeout(() => { open = false }, 2500)"
|
|
x-show.transition.duration.1000ms="open"
|
|
class="text-gray-500"
|
|
>
|
|
{{ __('Saved') }}
|
|
</span>
|
|
@endif
|
|
|
|
<span class="block w-full lg:w-auto rounded-md shadow-sm">
|
|
<button type="submit" class="flex justify-center w-full px-16 py-2 text-sm font-medium text-white bg-green-600 border border-transparent rounded-md hover:bg-green-500 focus:outline-none focus:border-green-700 focus:shadow-outline-green active:bg-green-700 transition duration-150 ease-in-out">
|
|
{{ __('Save') }}
|
|
</button>
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|