Changeset 131 for trunk/grails-app/views/task/edit.gsp
- Timestamp:
- May 8, 2009, 1:01:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/task/edit.gsp
r122 r131 32 32 <tr class="prop"> 33 33 <td valign="top" class="name"> 34 <label for="description">Description:</label> 35 </td> 36 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 37 <input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 38 </td> 39 </tr> 40 41 <tr class="prop"> 42 <td valign="top" class="name"> 43 <label for="comment">Comment:</label> 44 </td> 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 46 <input type="text" id="comment" name="comment" value="${fieldValue(bean:taskInstance,field:'comment')}"/> 47 </td> 48 </tr> 49 50 <tr class="prop"> 51 <td valign="top" class="name"> 34 52 <label for="targetStartDate">Target Start Date:</label> 35 53 </td> … … 41 59 <tr class="prop"> 42 60 <td valign="top" class="name"> 43 <label for=" description">Description:</label>44 </td> 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' description','errors')}">46 < input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/>61 <label for="targetCompletionDate">Target Completion Date:</label> 62 </td> 63 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 64 <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker> 47 65 </td> 48 66 </tr> … … 86 104 <tr class="prop"> 87 105 <td valign="top" class="name"> 88 <label for="comment">Comment:</label>89 </td>90 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}">91 <input type="text" id="comment" name="comment" value="${fieldValue(bean:taskInstance,field:'comment')}"/>92 </td>93 </tr>94 95 <tr class="prop">96 <td valign="top" class="name">97 106 <label for="primaryAsset">Primary Asset:</label> 98 107 </td> 99 108 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 100 109 <g:select optionKey="id" from="${Asset.list()}" name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}" noSelection="['null':'']"></g:select> 110 </td> 111 </tr> 112 113 <tr class="prop"> 114 <td valign="top" class="name"> 115 <label for="taskRecurringSchedule">Task Recurring Schedule:</label> 116 </td> 117 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskRecurringSchedule','errors')}"> 118 <g:select optionKey="id" from="${TaskRecurringSchedule.list()}" name="taskRecurringSchedule.id" value="${taskInstance?.taskRecurringSchedule?.id}" noSelection="['null':'']"></g:select> 119 </td> 120 </tr> 121 122 <tr class="prop"> 123 <td valign="top" class="name"> 124 <label for="taskProcedure">Task Procedure:</label> 125 </td> 126 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskProcedure','errors')}"> 127 <g:select optionKey="id" from="${TaskProcedure.list()}" name="taskProcedure.id" value="${taskInstance?.taskProcedure?.id}" noSelection="['null':'']"></g:select> 101 128 </td> 102 129 </tr> … … 192 219 <tr class="prop"> 193 220 <td valign="top" class="name"> 194 <label for="recurringSchedule">Recurring Schedule:</label>195 </td>196 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'recurringSchedule','errors')}">197 <g:select optionKey="id" from="${RecurringSchedule.list()}" name="recurringSchedule.id" value="${taskInstance?.recurringSchedule?.id}" ></g:select>198 </td>199 </tr>200 201 <tr class="prop">202 <td valign="top" class="name">203 221 <label for="subTasks">Sub Tasks:</label> 204 222 </td> … … 212 230 <g:link controller="task" params="['task.id':taskInstance?.id]" action="create">Add Task</g:link> 213 231 214 </td>215 </tr>216 217 <tr class="prop">218 <td valign="top" class="name">219 <label for="targetCompletionDate">Target Completion Date:</label>220 </td>221 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}">222 <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker>223 232 </td> 224 233 </tr>
Note: See TracChangeset
for help on using the changeset viewer.