Changeset 69 for branches/TaskRewrite/src/grails-app/views/task/edit.gsp
- Timestamp:
- Mar 9, 2009, 10:31:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/views/task/edit.gsp
r66 r69 67 67 <tr class="prop"> 68 68 <td valign="top" class="name"> 69 <label for="parentTask">Parent Task:</label> 70 </td> 71 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'parentTask','errors')}"> 72 <g:select optionKey="id" from="${Task.list()}" name="parentTask.id" value="${taskInstance?.parentTask?.id}" noSelection="['null':'']"></g:select> 73 </td> 74 </tr> 75 76 <tr class="prop"> 77 <td valign="top" class="name"> 69 78 <label for="comment">Comment:</label> 70 79 </td> … … 145 154 </ul> 146 155 <g:link controller="modification" params="['task.id':taskInstance?.id]" action="create">Add Modification</g:link> 156 157 </td> 158 </tr> 159 160 <tr class="prop"> 161 <td valign="top" class="name"> 162 <label for="subTasks">Sub Tasks:</label> 163 </td> 164 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'subTasks','errors')}"> 165 166 <ul> 167 <g:each var="s" in="${taskInstance?.subTasks?}"> 168 <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 169 </g:each> 170 </ul> 171 <g:link controller="task" params="['task.id':taskInstance?.id]" action="create">Add Task</g:link> 147 172 148 173 </td>
Note: See TracChangeset
for help on using the changeset viewer.