- Timestamp:
- Feb 28, 2010, 7:13:47 PM (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/createImmediateCallout.gsp
r406 r418 3 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 4 4 <meta name="layout" content="main" /> 5 <title>Create Breakin</title>5 <title>Create Immediate Callout</title> 6 6 <nav:resources override="true"/> 7 7 <resource:dateChooser /> … … 23 23 </div> 24 24 </g:hasErrors> 25 <g:hasErrors bean="${entryCauseInstance}"> 26 <div class="errors"> 27 <g:renderErrors bean="${entryCauseInstance}" as="list" /> 28 </div> 29 </g:hasErrors> 25 30 <g:hasErrors bean="${entryWorkDoneInstance}"> 26 31 <div class="errors"> … … 29 34 </g:hasErrors> 30 35 31 <g:form action="save Breakin" method="post" name="createTaskForm">36 <g:form action="saveImmediateCallout" method="post" name="createTaskForm"> 32 37 <div class="dialog"> 33 38 <table> … … 36 41 <tr class="prop"> 37 42 <td valign="top" class="name"> 38 <label for="description"> BreakinDescription:</label>43 <label for="description">Callout Description:</label> 39 44 </td> 40 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> … … 42 47 <g:helpBalloon class="helpballoon" code="task.description" /> 43 48 </td> 49 </tr> 50 51 <tr class="prop"> 52 <td valign="top" class="name"> 53 <label for="durationHour">Down Time:</label> 54 </td> 55 56 <td valign="top" class="value"> 57 <input class="time ${hasErrors(bean:entryFaultInstance,field:'durationHour','errors')}" 58 type="text" id="entryFault.durationHour" name="entryFault.durationHour" 59 value="${fieldValue(bean:entryFaultInstance,field:'durationHour')}" /> 60 : 61 <input class="time ${hasErrors(bean:entryFaultInstance,field:'durationMinute','errors')}" 62 type="text" id="entryFault.durationMinute" name="entryFault.durationMinute" 63 value="${fieldValue(bean:entryFaultInstance,field:'durationMinute')}" /> 64 <g:helpBalloon code="entry.duration" /> 65 </td> 44 66 </tr> 45 67 … … 56 78 <tr class="prop"> 57 79 <td valign="top" class="name"> 58 <label for=" durationHour">Fault Duration:</label>80 <label for="comment">${entryCauseInstance?.entryType.encodeAsHTML()}:</label> 59 81 </td> 60 61 <td valign="top" class="value"> 62 <input class="time ${hasErrors(bean:entryFaultInstance,field:'durationHour','errors')}" 63 type="text" id="entryFault.durationHour" name="entryFault.durationHour" 64 value="${fieldValue(bean:entryFaultInstance,field:'durationHour')}" /> 65 : 66 <input class="time ${hasErrors(bean:entryFaultInstance,field:'durationMinute','errors')}" 67 type="text" id="entryFault.durationMinute" name="entryFault.durationMinute" 68 value="${fieldValue(bean:entryFaultInstance,field:'durationMinute')}" /> 69 <g:helpBalloon code="entry.duration" /> 70 </td> 82 <td valign="top" class="value ${hasErrors(bean:entryCauseInstance,field:'comment','errors')}"> 83 <textarea rows="5" cols="40" name="entryCause.comment">${fieldValue(bean:entryCauseInstance, field:'comment')}</textarea> 84 <g:helpBalloon code="entry.comment.cause" /> 85 </td> 71 86 </tr> 72 87
Note: See TracChangeset
for help on using the changeset viewer.