PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/task/index.cfm

http://github.com/seancorfield/cfmljure
ColdFusion | 12 lines | 12 code | 0 blank | 0 comment | 0 complexity | 85d726edb573e75a3ea5d2b499ffca23 MD5 | raw file
 1<cfset tasks = task.core.get_all_tasks() />
 2<h1>Tasks</h1>
 3<cfif isDefined('tasks') eq 0>
 4	<p>There are currently no tasks defined.</p>
 5<cfelse>
 6	<cfloop array="#tasks#" index="task">
 7		<p>
 8			<cfoutput>Name: #task.name#</cfoutput>
 9		</p>
10	</cfloop>
11</cfif>
12<p><a href="add_task.cfm">Add Task</a></p>