Changeset 218 for trunk/grails-app/views
- Timestamp:
- Dec 4, 2009, 3:13:43 PM (15 years ago)
- Location:
- trunk/grails-app/views/entryDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/create.gsp
r191 r218 35 35 <td valign="top" class="name"> 36 36 <g:link controller="taskDetailed" action="show" id="${entryInstance.task.id}" > 37 ${entryInstance?.task }37 ${entryInstance?.task.encodeAsHTML()} 38 38 </g:link> 39 39 </td> -
trunk/grails-app/views/entryDetailed/edit.gsp
r147 r218 31 31 <label for="task">Task:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'task','errors')}"> 34 <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${entryInstance?.task?.id}" ></g:select> 33 <td valign="top" class="name"> 34 <g:link controller="taskDetailed" action="show" id="${entryInstance.task.id}" > 35 ${entryInstance?.task.encodeAsHTML()} 36 </g:link> 35 37 </td> 36 </tr> 38 </tr> 37 39 38 40 <tr class="prop"> … … 43 45 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:entryInstance, field:'comment')}</textarea> 44 46 </td> 45 </tr> 47 </tr> 46 48 47 49 <tr class="prop"> … … 52 54 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${entryInstance?.dateDone}" /> 53 55 </td> 54 </tr> 56 </tr> 55 57 56 58 <tr class="prop"> … … 68 70 value="${fieldValue(bean:entryInstance,field:'durationMinute')}" /> 69 71 <g:helpBalloon code="entry.duration" /> 70 </td> 72 </td> 71 73 </tr> 72 74 … … 78 80 <g:formatDate date="${entryInstance?.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> 79 81 </td> 80 </tr> 82 </tr> 81 83 82 84 <tr class="prop"> … … 87 89 ${entryInstance?.enteredBy?.toString()} 88 90 </td> 89 </tr> 91 </tr> 90 92 91 93 <tr class="prop"> … … 93 95 <label for="entryType">Entry Type:</label> 94 96 </td> 95 <td valign="top" class=" value ${hasErrors(bean:entryInstance,field:'entryType','errors')}">96 <g:select optionKey="id" from="${EntryType.list()}" name="entryType.id" value="${entryInstance?.entryType?.id}" ></g:select>97 <td valign="top" class="name"> 98 ${entryInstance?.entryType.encodeAsHTML()} 97 99 </td> 98 </tr> 100 </tr> 99 101 100 102 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.