diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-19 11:15:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-19 11:16:46 -0300 |
commit | c3e703989a87f4deafd77eb644d73af8ef93f110 (patch) | |
tree | b8f56ed4ab509ddfa97ebdb0789e901ab94b51f5 /packages/demobank-ui/src/pages/RegistrationPage.tsx | |
parent | f3dfd3da1bb16da110b1e83ebc075ed82dcf129e (diff) | |
download | wallet-core-c3e703989a87f4deafd77eb644d73af8ef93f110.tar.xz |
better name to links and buttons
Diffstat (limited to 'packages/demobank-ui/src/pages/RegistrationPage.tsx')
-rw-r--r-- | packages/demobank-ui/src/pages/RegistrationPage.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx index b7b02b76d..29e71413c 100644 --- a/packages/demobank-ui/src/pages/RegistrationPage.tsx +++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx @@ -426,6 +426,7 @@ function RegistrationForm({ <div class="flex w-full justify-between"> <a + name="cancel" href={routeCancel.url({})} class="ring-1 ring-gray-600 rounded-md bg-white disabled:bg-gray-300 px-3 py-1.5 text-sm font-semibold leading-6 text-black shadow-sm hover:bg-white-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2" > @@ -433,6 +434,7 @@ function RegistrationForm({ </a> <button type="submit" + name="register" class=" rounded-md bg-indigo-600 disabled:bg-gray-300 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" disabled={!!errors} onClick={async (e) => { @@ -450,6 +452,7 @@ function RegistrationForm({ <p class="mt-10 text-center text-sm text-gray-500 border-t"> <button type="submit" + name="create random" class="flex mt-4 w-full justify-center rounded-md bg-green-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-green-600" onClick={(e) => { e.preventDefault(); |