<!---
promptDelete.cfm
Leon Chalnick

params: REQUEST.contact produced from the promptDelete event.

This page-view prompts the user to confirm the deletion of the 
contact specified in the contact object, passed through the
request scope. If the user clicks the "yes" button, the 
form submission triggers the deleteContact event.

--->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>Contact Manager</title>
  <link rel="STYLESHEET" type="text/css" href="views/default.css">
</head>

<body>
<h2>Confirm Delete</h2>
<cfoutput>
Are you sure you want to delete <b>#REQUEST.contact.getFirstName()# #REQUEST.contact.getLastName()#</b> from the database?
<form action="index.cfm?event=deleteContact" method="post">
<input type="hidden" name="ContactID" value="#REQUEST.contact.getContactID()#">
</cfoutput>
<input type="submit" name="do_delete" value="Yes">
<input type="Button" value="No" onclick="javascript:history.back()">
</form>
</body>
</html>
