From 6745e4039d9343f92accddf383673897c673f6f0 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 17 Mar 2020 12:32:25 +1000 Subject: HTML labels before their input fields. --- src/sledjchisl/sledjchisl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sledjchisl') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 6acd4a8..609fefa 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -2220,14 +2220,14 @@ static void HTMLformEnd(qgrow_t *reply) static void HTMLcheckBox(qgrow_t *reply, char *name, char *title, boolean checked) { if (checked) - reply->addstrf(reply, "
\n", name, name, title); + reply->addstrf(reply, ":
\n", name, title, name); else reply->addstrf(reply, " \n", name, name, title); } static void HTMLtext(qgrow_t *reply, char *type, char *title, char *name, char *val, int size, int max, boolean required) { - reply->addstrf(reply, "%s : addstrf(reply, "
: addstrf(reply, "value=\"%s\"", val); if (0 < size) -- cgit v1.1