confirmation prompt for card deletion
authorpaul <paul@plutz.net>
Mon, 17 Oct 2016 14:13:45 +0000 (14:13 +0000)
committerpaul <paul@plutz.net>
Mon, 17 Oct 2016 14:13:45 +0000 (14:13 +0000)
svn path=/trunk/; revision=132

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>
     </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]"/>
     <button class="item" type="submit" name="action" value="cancel">$(l10n edit_cancel)</button>
   </div>
   <input type="hidden" name="UID" value="$values[UID]"/>