From: Paul Hänsch Date: Sun, 10 Jan 2021 22:54:38 +0000 (+0100) Subject: simplify ui bu removing addfield drop down X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=bbce2c9717ad8e0f551ac0d875801d2da3be3b53;p=lobster simplify ui bu removing addfield drop down --- 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)]