Changeset 872 for trunk/grails-app/views/taskDetailed/create.gsp
- Timestamp:
- Mar 16, 2011, 8:43:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/create.gsp
r728 r872 26 26 <tr class="prop"> 27 27 <td valign="top" class="name"> 28 <label for="description">Description:</label> 29 </td> 30 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 31 <input type="text" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 32 <g:helpBalloon class="helpballoon" code="task.description" /> 33 </td> 34 </tr> 35 36 <tr class="prop"> 37 <td valign="top" class="name"> 38 <label for="comment">Comment:</label> 39 </td> 40 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 41 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:taskInstance, field:'comment')}</textarea> 42 <g:helpBalloon class="helpballoon" code="task.comment" /> 43 </td> 44 </tr> 45 46 <tr class="prop"> 47 <td valign="top" class="name"> 48 <label for="targetStartDate">Target Start Date:</label> 49 </td> 50 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 51 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 52 <g:helpBalloon class="helpballoon" code="task.targetStartDate" /> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="targetCompletionDate">Target Completion Date:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 61 <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance.targetCompletionDate}" /> 62 <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" /> 63 </td> 64 </tr> 65 66 <tr class="prop"> 67 <td valign="top" class="name"> 68 <label for="leadPerson">Lead Person:</label> 69 </td> 70 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 71 <g:select optionKey="id" 72 from="${Person.findAllByIsActive(true).sort { p1, p2 -> p1.firstName.compareToIgnoreCase(p2.firstName) }}" 73 name="leadPerson.id" 74 value="${taskInstance?.leadPerson?.id}" > 75 </g:select> 76 <g:helpBalloon code="task.leadPerson" /> 77 </td> 78 </tr> 79 80 <tr class="prop"> 81 <td valign="top" class="name"> 82 <label for="primaryAsset">Primary Asset:</label> 28 <label for="primaryAsset">Asset:</label> 83 29 </td> 84 30 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> … … 90 36 </g:select> 91 37 <g:helpBalloon code="task.primaryAsset" /> 38 </td> 39 </tr> 40 41 <tr class="prop"> 42 <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" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 47 <g:helpBalloon class="helpballoon" code="task.description" /> 48 </td> 49 </tr> 50 51 <tr class="prop"> 52 <td valign="top" class="name"> 53 <label for="comment">Comment:</label> 54 </td> 55 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 56 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:taskInstance, field:'comment')}</textarea> 57 <g:helpBalloon class="helpballoon" code="task.comment" /> 58 </td> 59 </tr> 60 61 <tr class="prop"> 62 <td valign="top" class="name"> 63 <label for="targetStartDate">Target Start Date:</label> 64 </td> 65 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 66 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 67 <g:helpBalloon class="helpballoon" code="task.targetStartDate" /> 68 </td> 69 </tr> 70 71 <tr class="prop"> 72 <td valign="top" class="name"> 73 <label for="targetCompletionDate">Target Completion Date:</label> 74 </td> 75 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 76 <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance.targetCompletionDate}" /> 77 <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" /> 78 </td> 79 </tr> 80 81 <tr class="prop"> 82 <td valign="top" class="name"> 83 <label for="leadPerson">Lead Person:</label> 84 </td> 85 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 86 <g:select optionKey="id" 87 from="${Person.findAllByIsActive(true).sort { p1, p2 -> p1.firstName.compareToIgnoreCase(p2.firstName) }}" 88 name="leadPerson.id" 89 value="${taskInstance?.leadPerson?.id}" > 90 </g:select> 91 <g:helpBalloon code="task.leadPerson" /> 92 92 </td> 93 93 </tr>
Note: See TracChangeset
for help on using the changeset viewer.