Changeset 230 for trunk/grails-app/views
- Timestamp:
- Dec 18, 2009, 11:26:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/create.gsp
r218 r230 42 42 <tr class="prop"> 43 43 <td valign="top" class="name"> 44 <label for="comment">${entryInstance?.entryType }:</label>44 <label for="comment">${entryInstance?.entryType.encodeAsHTML()}:</label> 45 45 </td> 46 46 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'comment','errors')}"> 47 47 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:entryInstance, field:'comment')}</textarea> 48 <g:if test="${entryInstance?.entryType?.id == 1}"> 49 <g:helpBalloon code="entry.comment.fault" /> 50 </g:if> 51 <g:elseif test="${entryInstance?.entryType?.id == 2}"> 52 <g:helpBalloon code="entry.comment.work.done" /> 53 </g:elseif> 48 54 </td> 49 </tr> 55 </tr> 50 56 51 57 <tr class="prop"> … … 55 61 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}"> 56 62 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${new Date()}" /> 63 <g:helpBalloon code="entry.date.done" /> 57 64 </td> 58 </tr> 65 </tr> 59 66 60 67 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.