<cfoutput>
<h1>Contacts</h1>
<cfif flash.exists( "notice" )>
<div class="alert alert-info">#flash.get( "notice" )#</div>
</cfif>
<cfif flash.exists( "errors" )>
<div class="alert alert-danger">#flash.get( "errors" ).toString()#</div>
</cfif>
#html.href(href='contacts.editor',text="Create Contact")#
<br><br>
<cfloop array="#prc.contacts#" index="contact">
<div>
#contact.getLastName()#, #contact.getFirstName()# (#contact.getEmail()#)<br/>
#html.href(href='contacts.editor.id.#contact.getContactID()#',text="[ Edit ]")#
#html.href(href='contacts.delete.id.#contact.getContactID()#',text="[ Delete ]",onclick="return confirm('Really Delete?')")#
<hr>
</div>
</cfloop>
</cfoutput>