import { Head, Link } from '@inertiajs/react' import <%= inertia_component_name %> from './<%= inertia_component_name %>' export default function Show({ <%= singular_table_name %>, flash }) { return ( <> #${<%= singular_table_name %>.id}`} />
{flash.notice && (

{flash.notice}

)}

<%= human_name %> #{<%= singular_table_name %>.id}

<<%= inertia_component_name %> <%= singular_table_name %>={<%= singular_table_name %>} /> `} className="mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" > Edit this <%= human_name.downcase %> Back to <%= human_name.pluralize.downcase %>
`} as="button" method="delete" className="mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" > Destroy this <%= human_name.downcase %>
) }