From c3e703989a87f4deafd77eb644d73af8ef93f110 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 19 Feb 2024 11:15:41 -0300
Subject: better name to links and buttons

---
 packages/demobank-ui/src/pages/WalletWithdrawForm.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'packages/demobank-ui/src/pages/WalletWithdrawForm.tsx')

diff --git a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
index be1528db8..196ee9d63 100644
--- a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
+++ b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
@@ -92,6 +92,7 @@ function OldWithdrawalForm({
         </i18n.Translate>{" "}
         <a
           class="font-semibold text-yellow-700 hover:text-yellow-600"
+          name="complete operation"
           href={url}
         // onClick={(e) => {
         //   e.preventDefault()
@@ -210,6 +211,7 @@ function OldWithdrawalForm({
           <div class="sm:inline">
             <button
               type="button"
+              name="set 50"
               class="               inline-flex px-6 py-4 text-sm items-center rounded-l-md bg-white text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
               onClick={(e) => {
                 e.preventDefault();
@@ -220,6 +222,7 @@ function OldWithdrawalForm({
             </button>
             <button
               type="button"
+              name="set 25"
               class=" -ml-px -mr-px inline-flex px-6 py-4 text-sm items-center rounded-r-md sm:rounded-none             bg-white text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
               onClick={(e) => {
                 e.preventDefault();
@@ -232,6 +235,7 @@ function OldWithdrawalForm({
           <div class="mt-4 sm:inline">
             <button
               type="button"
+              name="set 10"
               class=" -ml-px -mr-px inline-flex px-6 py-4 text-sm items-center rounded-l-md sm:rounded-none             bg-white text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
               onClick={(e) => {
                 e.preventDefault();
@@ -242,6 +246,7 @@ function OldWithdrawalForm({
             </button>
             <button
               type="button"
+              name="set 5"
               class="               inline-flex px-6 py-4 text-sm items-center rounded-r-md bg-white  text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 focus:z-10"
               onClick={(e) => {
                 e.preventDefault();
@@ -256,12 +261,14 @@ function OldWithdrawalForm({
       <div class="flex items-center justify-between gap-x-6 border-t border-gray-900/10 px-4 py-4 sm:px-8">
         <a
           href={routeCancel.url({})}
+          name="cancel"
           class="text-sm font-semibold leading-6 text-gray-900"
         >
           <i18n.Translate>Cancel</i18n.Translate>
         </a>
         <button
           type="submit"
+          name="continue"
           class="disabled:opacity-50 disabled:cursor-default cursor-pointer rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold 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={isRawPayto ? !!errorsPayto : !!errorsWire}
           onClick={(e) => {
@@ -323,6 +330,7 @@ export function WalletWithdrawForm({
             </i18n.Translate>{" "}
             <a
               target="_blank"
+              name="wallet page"
               rel="noreferrer noopener"
               class="font-semibold text-blue-700 hover:text-blue-600"
               href="https://taler.net/en/wallet.html"
-- 
cgit v1.2.3

