From db7639f73908c87fdd4b796593e17d9e823b0f34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 10 Nov 2023 09:57:05 +0100 Subject: [PATCH] remove fields from UI --- clients.sh | 6 +++--- senders.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients.sh b/clients.sh index 052a0c8..404e41d 100755 --- a/clients.sh +++ b/clients.sh @@ -12,8 +12,8 @@ edit_client(){ [hidden "id" "%s"] - [label for=hourly Hourly Rate:] - [input #hourly type=number name=hourly value="%s"] + + [submit "update" "%s" Update] ]' \ "$(HTML $id)" \ @@ -30,7 +30,7 @@ list_clients(){ printf '[div .client .address %s -[label Hourly Rate:] %s€ + [a href="/clients/%s" Edit]] ' "$(HTML "$address")" \ "$(HTML "${hourly#hourly=}")" \ diff --git a/senders.sh b/senders.sh index 757ce22..ef47174 100755 --- a/senders.sh +++ b/senders.sh @@ -24,8 +24,8 @@ xxx / 000 / ### [form method="POST" action="/update_sender" [hidden "id" "%s"] - [label IBAN:][input name=iban value="%s" placeholder=IBAN] - [label BIC:][input name=bic value="%s" placeholder=BIC] + + [submit "update" "%s" Update] ]' \ "$(HTML $id)" "$(HTML "${address}")" \ -- 2.39.5