-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformDeleteClassroom.cfm
44 lines (44 loc) · 1.22 KB
/
formDeleteClassroom.cfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<cfif isDefined("Classroom.RecordCount") and Classroom.RecordCount eq 0>
<cfset pageTitle = "No Classroom Log Found">
<cfinclude template="incBegin.cfm">
<span class="dataSectionTitle">Error!</span>
<div class="data">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td class="first">No classroom found</td>
</tr>
</table>
</div>
<cfelse>
<cfinclude template="incBegin.cfm">
<cfoutput>
<form action="deleteClassroomExe.cfm"
method="post"
name="deleteCassroom"
id="deleteClassroom">
<span class="formSectionTitle">#pageTitle#</span>
<div class="form">
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<p class="error">You are about to delete the record below. Are you sure you want to do this?</p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<input name="ClassID" type="hidden" value="#Classroom.ClassroomID#">
<input name="Submit" type="submit" class="mainControl" style="width:100px;" value="OK">
</form>
</td>
<td>
<form action="classroom.cfm?ClassID=#Classroom.ClassroomID#" method="post">
<input type="submit" class="mainControl" value="Cancel">
</form>
</td>
</tr>
</table>
</cfoutput>
</div>
</cfif>