PageRenderTime 75ms CodeModel.GetById 21ms app.highlight 1ms RepoModel.GetById 48ms app.codeStats 2ms

/SampleApplication/ColdBox3/views/artist/index.cfm

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion | 32 lines | 28 code | 4 blank | 0 comment | 0 complexity | 74afbd3687fc849b25946bd118c66bc5 MD5 | raw file
 1<cfoutput>
 2<h1>User List</h1>
 3
 4<cfif flash.exists( "message" )>
 5<div class="messagebox">#flash.get( "message" )#</div>
 6</cfif>
 7
 8<p><a href="#Event.BuildLink( 'artist.maintain' )#">Add</a></p>
 9
10<table>
11	<thead>
12		<tr>
13			<th>Whom</th>
14			<th>Has Art?</th>
15			<th>Actions</th>
16		</tr>
17	</thead>
18	<tbody>
19<cfloop array="#rc.artists#" index="Artist">
20		<tr>
21			<th>#Artist.getFullname()#</a></th>
22			<th>#Artist.hasArt()#</a></th>
23			<td>
24				<a href="#Event.BuildLink( 'artist.maintain' & ".artistid." & Artist.getArtistID() )#">Edit</a> | 
25				<a href="#Event.BuildLink( 'artist.delete' & ".artistid." & Artist.getArtistID() )#">Delete</a>
26			</td>
27		</tr>
28</cfloop>
29	</tbody>
30</table>
31
32</cfoutput>