confirmation prompt for card deletion
[confetti] / templates / edit_attendee.sh
index 9340232..f12633d 100755 (executable)
@@ -129,7 +129,8 @@ cat <<END_HTML
     </select
     ><button class="item" type="submit" name="action" value="addfield">$(l10n edit_addfield)</button>
     <button class="item" type="submit" name="action" value="update">$(l10n edit_update)</button>
-    <button class="item" type="submit" name="action" value="delete">$(l10n edit_delete)</button>
+    <input type="checkbox" id="delete"><label class="item" for="delete">$(l10n edit_delete)</label>
+      <button class="item" type="submit" name="action" value="delete">$(l10n edit_delete)</button>
     <button class="item" type="submit" name="action" value="cancel">$(l10n edit_cancel)</button>
   </div>
   <input type="hidden" name="UID" value="$values[UID]"/>