- Timestamp:
- Mar 16, 2011, 8:43:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/createImmediateCallout.gsp
r601 r872 40 40 <tr class="prop"> 41 41 <td valign="top" class="name"> 42 <label for="primaryAsset">Asset:</label> 43 </td> 44 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 45 <g:select optionKey="id" 46 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}" 47 name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}" 48 noSelection="['null':/${g.message(code:'default.none.select.text')}/]"> 49 </g:select> 50 <g:helpBalloon code="task.primaryAsset" /> 51 </td> 52 </tr> 53 54 <tr class="prop"> 55 <td valign="top" class="name"> 42 56 <label for="description">Callout Description:</label> 43 57 </td> … … 55 69 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 56 70 <g:helpBalloon class="helpballoon" code="task.targetStartDate.immediateCallout" /> 57 </td>58 </tr>59 60 <tr class="prop">61 <td valign="top" class="name">62 <label for="primaryAsset">Asset:</label>63 </td>64 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}">65 <g:select optionKey="id"66 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"67 name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}"68 noSelection="['null':/${g.message(code:'default.none.select.text')}/]">69 </g:select>70 <g:helpBalloon code="task.primaryAsset" />71 71 </td> 72 72 </tr> … … 103 103 </td> 104 104 </tr> 105 105 106 106 <tr class="prop"> 107 107 <td valign="top" class="name">
Note: See TracChangeset
for help on using the changeset viewer.