Inertia Rails Forms Full-stack form handling for Inertia.js + Rails. Before building a form, ask: Simple create/edit? →
Delete Form < Form method = " delete " action = { ` /posts/ ${ post . id } ` } > { ( { processing } ) => ( < button type = " submit " disabled = { processing } > { processing ? 'Deleting...' : 'Delete Post' } button > ) } Form > Key Render Function Properties Property Type Purpose errors Recordinertia-rails-forms
安装
npx skills add https://github.com/inertia-rails/skills --skill inertia-rails-forms