]> git.plutz.net Git - confetti/commitdiff
single label for seed input
authorPaul Hänsch <paul@plutz.net>
Thu, 4 Feb 2021 21:07:27 +0000 (22:07 +0100)
committerPaul Hänsch <paul@plutz.net>
Thu, 4 Feb 2021 21:07:27 +0000 (22:07 +0100)
cards/index.cgi

index e25843c54d68e8019fad4977382e31d4fdc5ca85..934c19ac3bf2499b3aee9adf0440188739a6e3f2 100755 (executable)
@@ -18,12 +18,8 @@ edit="${edit##*/}"
   printf '
   [form class="newcard" action="/cards/new_card.sh" method="POST"
     [button type="submit" %s]
   printf '
   [form class="newcard" action="/cards/new_card.sh" method="POST"
     [button type="submit" %s]
-    [input name="seed" placeholder="%s %s      %s      %s      %s      %s      %s      ()      %s      ()      %s"]
-  ]' "$(l10n newcard)" \
-     "$(l10n X-ZACK-JOINDATE)" "$(l10n n_first)" "$(l10n n_last)" \
-     "$(l10n BDAY) $(l10n month)" "$(l10n BDAY) $(l10n year)" \
-     "$(l10n TEL)" "$(l10n TEL) $(l10n 'TYPE=CELL')" "$(l10n EMAIL)" \
-     "$(l10n NOTE)"
+    [input name="seed" placeholder="%s"]
+  ]' "$(l10n newcard)" "$(l10n vcf_seed_label)"
   [ "$edit" ] && edit_card "$edit"
   list_cards
 } | yield_page cards #/cards/cards.css
   [ "$edit" ] && edit_card "$edit"
   list_cards
 } | yield_page cards #/cards/cards.css