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