<form action="{{ $formAction }}" method="POST">
	@csrf
	@if ($method === 'PUT')
		@method('PUT')
	@endif

	<div class="hs-accordion-group">
		@foreach ($insuranceTypes as $type)
			<div class="mb-2">
				@include('backend.insurance.insurance-types.partials.insurance_type', [
					'type' => $type,
					'defaults' => $defaults,
					'level' => 0,
				])
			</div>
		@endforeach
	</div>
	<button type="submit" class="mt-4 p-2 bg-blue-500 text-white rounded">Submit</button>
</form>
