29 lines
779 B
PHP
29 lines
779 B
PHP
|
<x-form.container>
|
||
|
<x-form
|
||
|
id="{{ $formId }}"
|
||
|
:route="$formRoute"
|
||
|
method="{{ $formMethod }}"
|
||
|
:model="$contact"
|
||
|
>
|
||
|
@if (! $hideSectionGeneral)
|
||
|
<x-contacts.form.general type="{{ $type }}" />
|
||
|
@endif
|
||
|
|
||
|
@if (! $hideSectionBilling)
|
||
|
<x-contacts.form.billing type="{{ $type }}" />
|
||
|
@endif
|
||
|
|
||
|
@if (! $hideSectionAddress)
|
||
|
<x-contacts.form.address type="{{ $type }}" />
|
||
|
@endif
|
||
|
|
||
|
<x-form.input.hidden name="type" value="{{ $type }}" />
|
||
|
|
||
|
@if (! empty($contact))
|
||
|
<x-form.group.switch name="enabled" label="{{ trans('general.enabled') }}" />
|
||
|
@endif
|
||
|
|
||
|
<x-contacts.form.buttons type="{{ $type }}" />
|
||
|
</x-form>
|
||
|
</x-form.container>
|