import { Form, Head, Link } from '@inertiajs/react'; import InputError from '@/components/input-error'; import { TenantAdminNav } from '@/components/tenant-admin-nav'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; type Props = { tenant: { id: number; name: string }; canManageRoles: boolean; }; export default function UserCreate({ tenant, canManageRoles }: Props) { const base = `/administration/tenants/${tenant.id}/users`; return ( <>

Tambah User

{tenant.name}

{({ processing, errors }) => ( Informasi Akun
{canManageRoles ? (
) : (
Akun baru otomatis menggunakan role baku{' '} Tenant User.
)}
)}
); } UserCreate.layout = { breadcrumbs: [ { title: 'Users', href: '#' }, { title: 'Tambah', href: '#' }, ], };