From bbce2c9717ad8e0f551ac0d875801d2da3be3b53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 10 Jan 2021 23:54:38 +0100 Subject: [PATCH] simplify ui bu removing addfield drop down --- courses/list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/courses/list.sh b/courses/list.sh index 27c47e0..04cadfa 100755 --- a/courses/list.sh +++ b/courses/list.sh @@ -31,11 +31,11 @@ edit_course(){ edit_item "$course" attendance )] [div .control - [select .item name=newfield + [!-- select .item name=newfield [option disabled="disabled" selected . $(l10n edit_addfieldtext)] $(for f in $SUP_FIELDS; do printf '[option value="%s" . %s]\n' "$f" "$(l10n "$f")"; done) ] - [button .item type="submit" name="action" value="addfield" . $(l10n edit_addfield)] + [button .item type="submit" name="action" value="addfield" . $(l10n edit_addfield) --] [button .item type="submit" name="action" value="update" . $(l10n edit_update)] [button .item type="submit" name="action" value="delete" . $(l10n edit_delete)] [button .item type="submit" name="action" value="cancel" . $(l10n edit_cancel)] -- 2.39.2