feat: integrate submit form answer with backend
Docker Build and Push / build-and-push (push) Successful in 5m22s

This commit is contained in:
2026-02-22 14:41:52 +07:00
parent 2e28656a93
commit 4014ec802a
5 changed files with 470 additions and 5 deletions
+6 -4
View File
@@ -175,11 +175,13 @@ export default function FormPreviewPage() {
<div className="mt-8 flex flex-col items-center gap-3 rounded-xl border border-dashed border-border bg-card/50 p-6">
<p className="text-sm text-muted-foreground">
This is a read-only preview. Form submission is disabled.
This is a read-only preview. Click below to fill out this form.
</p>
<FormButton disabled size="lg">
Submit (Preview Mode)
</FormButton>
<Link to={`/form/${id}/submit`}>
<FormButton size="lg">
Fill Out Form
</FormButton>
</Link>
</div>
<div className="mt-6 flex justify-center">