]> git.plutz.net Git - confetti/blobdiff - cards/list.sh
touch course file (invalidate cache) when updating attendance in vcard
[confetti] / cards / list.sh
index 4e40072a9b396889196794ce044801358891a835..1c602913244d34882771c6d0b318f5d85a70e65f 100755 (executable)
@@ -45,7 +45,7 @@ edit_card(){
            done)
            [h3 $(l10n CATEGORIES) ] $(
            grep -xE '[^ ]+' "$_DATA"/mappings/categories |while read -r cat; do
-             printf '[label [input type="checkbox" name="attendance" value="%s" %s] %s]' \
+             printf '[label [input type="checkbox" name="CATEGORIES" value="%s" %s] %s]' \
                     "$(HTML "$cat")" \
                     "$(seq 1 $(pdi_count "$card" CATEGORIES) |while read c; do
                       pdi_value "$card" CATEGORIES $c |grep -qxF "$cat" \