Changeset 240 for trunk/grails-app/views/assignedGroupDetailed/edit.gsp
- Timestamp:
- Dec 22, 2009, 5:38:37 PM (15 years ago)
- Location:
- trunk/grails-app/views/assignedGroupDetailed
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assignedGroupDetailed/edit.gsp
r147 r240 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Edit Assigned Person</title>7 <title>Edit AssignedGroup</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 <h1>Edit Assigned Person</h1>11 <h1>Edit Assigned Group</h1> 12 12 </div> 13 13 <div class="body"> … … 15 15 <div class="message">${flash.message}</div> 16 16 </g:if> 17 <g:hasErrors bean="${assigned PersonInstance}">17 <g:hasErrors bean="${assignedGroupInstance}"> 18 18 <div class="errors"> 19 <g:renderErrors bean="${assigned PersonInstance}" as="list" />19 <g:renderErrors bean="${assignedGroupInstance}" as="list" /> 20 20 </div> 21 21 </g:hasErrors> 22 22 <g:form method="post" > 23 <input type="hidden" name="id" value="${assigned PersonInstance?.id}" />24 <input type="hidden" name="version" value="${assigned PersonInstance?.version}" />23 <input type="hidden" name="id" value="${assignedGroupInstance?.id}" /> 24 <input type="hidden" name="version" value="${assignedGroupInstance?.version}" /> 25 25 <div class="dialog"> 26 26 <table> … … 31 31 <label for="task">Task:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'task','errors')}"> 34 <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${assignedPersonInstance?.task?.id}" ></g:select> 33 <td valign="top" class="name"> 34 <g:link controller="taskDetailed" action="show" id="${assignedGroupInstance.task.id}" > 35 ${assignedGroupInstance?.task.encodeAsHTML()} 36 </g:link> 35 37 </td> 36 </tr> 38 </tr> 37 39 38 40 <tr class="prop"> 39 41 <td valign="top" class="name"> 40 <label for="person ">Person:</label>42 <label for="personGroup">Group:</label> 41 43 </td> 42 <td valign="top" class="value ${hasErrors(bean:assigned PersonInstance,field:'person','errors')}">43 <g:select optionKey="id" from="${Person .list()}" name="person.id" value="${assignedPersonInstance?.person?.id}" ></g:select>44 <td valign="top" class="value ${hasErrors(bean:assignedGroupInstance,field:'personGroup','errors')}"> 45 <g:select optionKey="id" from="${PersonGroup.list()}" name="personGroup.id" value="${assignedGroupInstance?.personGroup?.id}" ></g:select> 44 46 </td> 45 47 </tr> … … 50 52 </td> 51 53 <td valign="top" class="value"> 52 <input class="time ${hasErrors(bean:assigned PersonInstance,field:'estimatedHour','errors')}"54 <input class="time ${hasErrors(bean:assignedGroupInstance,field:'estimatedHour','errors')}" 53 55 type="text" id="estimatedHour" name="estimatedHour" 54 value="${fieldValue(bean:assigned PersonInstance,field:'estimatedHour')}" />56 value="${fieldValue(bean:assignedGroupInstance,field:'estimatedHour')}" /> 55 57 : 56 <input class="time ${hasErrors(bean:assigned PersonInstance,field:'estimatedMinute','errors')}"58 <input class="time ${hasErrors(bean:assignedGroupInstance,field:'estimatedMinute','errors')}" 57 59 type="text" id="estimatedMinute" name="estimatedMinute" 58 value="${fieldValue(bean:assigned PersonInstance,field:'estimatedMinute')}" />59 <g:helpBalloon code="assigned Person.estimatedDuration" />60 value="${fieldValue(bean:assignedGroupInstance,field:'estimatedMinute')}" /> 61 <g:helpBalloon code="assignedGroup.estimatedDuration" /> 60 62 </td> 61 63 </tr>
Note: See TracChangeset
for help on using the changeset viewer.