]> git.plutz.net Git - confetti/commitdiff
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 934023228bf7902532938abc74196a93747d746c..f12633da01b3dfa2dcc4827a8e5f88f9711fdee8 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]"/>