single label for seed input
[confetti] / cards / index.cgi
index 90be142..934c19a 100755 (executable)
@@ -1,11 +1,5 @@
 #!/bin/sh
 
-if [ "$_PATH" = "/cards/cards.css" ]; then
-  . $_EXEC/cgilite/file.sh
-  FILE $_EXEC/cards/cards.css
-  return 0
-fi
-
 . $_EXEC/pdiread.sh
 . $_EXEC/cards/l10n.sh
 . $_EXEC/cards/widgets.sh
@@ -24,8 +18,8 @@ edit="${edit##*/}"
   printf '
   [form class="newcard" action="/cards/new_card.sh" method="POST"
     [button type="submit" %s]
-  ]' "$(l10n newcard)"
-
+    [input name="seed" placeholder="%s"]
+  ]' "$(l10n newcard)" "$(l10n vcf_seed_label)"
   [ "$edit" ] && edit_card "$edit"
   list_cards
-} | yield_page cards /cards/cards.css
+} | yield_page cards #/cards/cards.css