schneespur/resources/views/admin/customer_objects/create.blade.php
Michael 2c63440ed8 Revert: move code back to project root from schneespur/ subdirectory
- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
  removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
2026-05-17 18:24:26 +00:00

24 lines
1.1 KiB
PHP

<x-admin-layout>
<x-slot name="header">{{ __('customer_object.page_create') }}</x-slot>
<x-breadcrumb :items="[
['label' => __('admin.nav_customers'), 'url' => route('admin.customers.index')],
['label' => $customer->name, 'url' => route('admin.customers.objects.index', $customer)],
['label' => __('customer_object.page_create')],
]" />
<div class="mt-6 bg-white overflow-hidden shadow-sm rounded-lg p-6">
<x-page-header :title="__('customer_object.page_create')" />
<form method="POST" action="{{ route('admin.customers.objects.store', $customer) }}" class="mt-6">
@csrf
@include('admin.customer_objects._form', ['object' => new \App\Models\CustomerObject])
<div class="mt-6 flex items-center gap-4">
<x-primary-button>{{ __('ui.button_create') }}</x-primary-button>
<a href="{{ route('admin.customers.objects.index', $customer) }}" class="text-sm text-gray-600 hover:text-gray-900">{{ __('ui.button_cancel') }}</a>
</div>
</form>
</div>
</x-admin-layout>