aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-08-22 13:09:24 -0300
committerSebastian <sebasjm@gmail.com>2024-08-22 13:09:24 -0300
commitd539f97b4d8add8a42c94af40c434086bad791e2 (patch)
tree049bb132d9e184189b7d7718f7abb027246a5a18 /packages
parentb06c253172e28ed8fdb0566a61132abe32cf0015 (diff)
name_and_dob
Diffstat (limited to 'packages')
-rw-r--r--packages/kyc-ui/src/forms/index.ts7
-rw-r--r--packages/kyc-ui/src/forms/nameAndBirthdate.ts (renamed from packages/kyc-ui/src/forms/name_and_dob.ts)0
2 files changed, 7 insertions, 0 deletions
diff --git a/packages/kyc-ui/src/forms/index.ts b/packages/kyc-ui/src/forms/index.ts
index 5f6cf9ba0..a8803ec9f 100644
--- a/packages/kyc-ui/src/forms/index.ts
+++ b/packages/kyc-ui/src/forms/index.ts
@@ -19,6 +19,7 @@ import {
} from "@gnu-taler/web-util/browser";
import { simplest } from "./simplest.js";
import { personalInfo } from "./personal-info.js";
+import { nameAndDob } from "./nameAndBirthdate.js";
export const preloadedForms: (
i18n: InternationalizationAPI,
@@ -35,4 +36,10 @@ export const preloadedForms: (
version: 1,
config: personalInfo(i18n),
},
+ {
+ label: i18n.str`Name and birthdate`,
+ id: "name_and_dob",
+ version: 1,
+ config: nameAndDob(i18n),
+ },
];
diff --git a/packages/kyc-ui/src/forms/name_and_dob.ts b/packages/kyc-ui/src/forms/nameAndBirthdate.ts
index 4e4cb17e6..4e4cb17e6 100644
--- a/packages/kyc-ui/src/forms/name_and_dob.ts
+++ b/packages/kyc-ui/src/forms/nameAndBirthdate.ts