Changeset 131 for trunk/grails-app/views/task/create.gsp
- Timestamp:
- May 8, 2009, 1:01:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/task/create.gsp
r122 r131 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="description">Description:</label> 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 34 <input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 40 <label for="comment">Comment:</label> 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 43 <input type="text" id="comment" name="comment" value="${fieldValue(bean:taskInstance,field:'comment')}"/> 44 </td> 45 </tr> 46 47 <tr class="prop"> 48 <td valign="top" class="name"> 31 49 <label for="targetStartDate">Target Start Date:</label> 32 50 </td> … … 38 56 <tr class="prop"> 39 57 <td valign="top" class="name"> 40 <label for=" description">Description:</label>58 <label for="targetCompletionDate">Target Completion Date:</label> 41 59 </td> 42 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' description','errors')}">43 < input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/>60 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 61 <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker> 44 62 </td> 45 63 </tr> … … 83 101 <tr class="prop"> 84 102 <td valign="top" class="name"> 85 <label for=" comment">Comment:</label>103 <label for="primaryAsset">Primary Asset:</label> 86 104 </td> 87 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' comment','errors')}">88 < input type="text" id="comment" name="comment" value="${fieldValue(bean:taskInstance,field:'comment')}"/>105 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 106 <g:select optionKey="id" from="${Asset.list()}" name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}" noSelection="['null':'']"></g:select> 89 107 </td> 90 108 </tr> … … 92 110 <tr class="prop"> 93 111 <td valign="top" class="name"> 94 <label for=" primaryAsset">Primary Asset:</label>112 <label for="taskRecurringSchedule">Task Recurring Schedule:</label> 95 113 </td> 96 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 97 <g:select optionKey="id" from="${Asset.list()}" name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}" noSelection="['null':'']"></g:select> 114 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskRecurringSchedule','errors')}"> 115 <g:select optionKey="id" from="${TaskRecurringSchedule.list()}" name="taskRecurringSchedule.id" value="${taskInstance?.taskRecurringSchedule?.id}" noSelection="['null':'']"></g:select> 116 </td> 117 </tr> 118 119 <tr class="prop"> 120 <td valign="top" class="name"> 121 <label for="taskProcedure">Task Procedure:</label> 122 </td> 123 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskProcedure','errors')}"> 124 <g:select optionKey="id" from="${TaskProcedure.list()}" name="taskProcedure.id" value="${taskInstance?.taskProcedure?.id}" noSelection="['null':'']"></g:select> 98 125 </td> 99 126 </tr> … … 128 155 <tr class="prop"> 129 156 <td valign="top" class="name"> 130 <label for="recurringSchedule">Recurring Schedule:</label>131 </td>132 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'recurringSchedule','errors')}">133 <g:select optionKey="id" from="${RecurringSchedule.list()}" name="recurringSchedule.id" value="${taskInstance?.recurringSchedule?.id}" ></g:select>134 </td>135 </tr>136 137 <tr class="prop">138 <td valign="top" class="name">139 <label for="targetCompletionDate">Target Completion Date:</label>140 </td>141 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}">142 <g:datePicker name="targetCompletionDate" value="${taskInstance?.targetCompletionDate}" ></g:datePicker>143 </td>144 </tr>145 146 <tr class="prop">147 <td valign="top" class="name">148 157 <label for="taskGroup">Task Group:</label> 149 158 </td>
Note: See TracChangeset
for help on using the changeset viewer.