Changeset 432 for trunk/grails-app/views
- Timestamp:
- Mar 7, 2010, 12:06:07 PM (15 years ago)
- Location:
- trunk/grails-app/views/entryDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/create.gsp
r431 r432 50 50 </g:if> 51 51 <g:elseif test="${entryInstance?.entryType?.id == 2}"> 52 <g:helpBalloon code="entry.comment.cause" /> 53 </g:elseif> 54 <g:elseif test="${entryInstance?.entryType?.id == 3}"> 52 55 <g:helpBalloon code="entry.comment.work.done" /> 53 56 </g:elseif> … … 81 84 </tr> 82 85 </g:if> 83 84 <tr class="prop">85 <td valign="top" class="name">86 <label for="durationHour">Duration:</label>87 </td>88 86 89 <td valign="top" class="value"> 90 <input class="time ${hasErrors(bean:entryInstance,field:'durationHour','errors')}" 91 type="text" id="durationHour" name="durationHour" 92 value="${fieldValue(bean:entryInstance,field:'durationHour')}" /> 93 : 94 <input class="time ${hasErrors(bean:entryInstance,field:'durationMinute','errors')}" 95 type="text" id="durationMinute" name="durationMinute" 96 value="${fieldValue(bean:entryInstance,field:'durationMinute')}" /> 97 <g:helpBalloon code="entry.duration" /> 98 </td> 99 </tr> 87 <g:if test="${entryInstance?.entryType?.id != 2}"> 88 <tr class="prop"> 89 <td valign="top" class="name"> 90 <label for="durationHour">Duration:</label> 91 </td> 92 93 <td valign="top" class="value"> 94 <input class="time ${hasErrors(bean:entryInstance,field:'durationHour','errors')}" 95 type="text" id="durationHour" name="durationHour" 96 value="${fieldValue(bean:entryInstance,field:'durationHour')}" /> 97 : 98 <input class="time ${hasErrors(bean:entryInstance,field:'durationMinute','errors')}" 99 type="text" id="durationMinute" name="durationMinute" 100 value="${fieldValue(bean:entryInstance,field:'durationMinute')}" /> 101 <g:helpBalloon code="entry.duration" /> 102 </td> 103 </tr> 104 </g:if> 100 105 101 106 </tbody> -
trunk/grails-app/views/entryDetailed/edit.gsp
r431 r432 72 72 </tr> 73 73 </g:if> 74 75 <tr class="prop">76 <td valign="top" class="name">77 <label for="durationHour">Duration:</label>78 </td>79 74 80 <td valign="top" class="value"> 81 <input class="time ${hasErrors(bean:entryInstance,field:'durationHour','errors')}" 82 type="text" id="durationHour" name="durationHour" 83 value="${fieldValue(bean:entryInstance,field:'durationHour')}" /> 84 : 85 <input class="time ${hasErrors(bean:entryInstance,field:'durationMinute','errors')}" 86 type="text" id="durationMinute" name="durationMinute" 87 value="${fieldValue(bean:entryInstance,field:'durationMinute')}" /> 88 <g:helpBalloon code="entry.duration" /> 89 </td> 90 </tr> 75 <g:if test="${entryInstance?.entryType?.id != 2}"> 76 <tr class="prop"> 77 <td valign="top" class="name"> 78 <label for="durationHour">Duration:</label> 79 </td> 80 81 <td valign="top" class="value"> 82 <input class="time ${hasErrors(bean:entryInstance,field:'durationHour','errors')}" 83 type="text" id="durationHour" name="durationHour" 84 value="${fieldValue(bean:entryInstance,field:'durationHour')}" /> 85 : 86 <input class="time ${hasErrors(bean:entryInstance,field:'durationMinute','errors')}" 87 type="text" id="durationMinute" name="durationMinute" 88 value="${fieldValue(bean:entryInstance,field:'durationMinute')}" /> 89 <g:helpBalloon code="entry.duration" /> 90 </td> 91 </tr> 92 </g:if> 91 93 92 94 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.