[96] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
| 7 | <title>Create AssignedPerson</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[147] | 11 | <h1>Create Assigned Person</h1> |
---|
[96] | 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:if test="${flash.message}"> |
---|
| 15 | <div class="message">${flash.message}</div> |
---|
| 16 | </g:if> |
---|
| 17 | <g:hasErrors bean="${assignedPersonInstance}"> |
---|
| 18 | <div class="errors"> |
---|
| 19 | <g:renderErrors bean="${assignedPersonInstance}" as="list" /> |
---|
| 20 | </div> |
---|
| 21 | </g:hasErrors> |
---|
| 22 | <g:form action="save" method="post" > |
---|
[134] | 23 | <input type="hidden" name="task.id" value="${assignedPersonInstance?.task?.id}" /> |
---|
[96] | 24 | <div class="dialog"> |
---|
| 25 | <table> |
---|
| 26 | <tbody> |
---|
| 27 | |
---|
| 28 | <tr class="prop"> |
---|
| 29 | <td valign="top" class="name"> |
---|
| 30 | <label for="task">Task:</label> |
---|
| 31 | </td> |
---|
[242] | 32 | <td valign="top" class="name"> |
---|
| 33 | <g:link controller="taskDetailed" action="show" id="${assignedPersonInstance.task.id}" > |
---|
| 34 | ${assignedPersonInstance?.task.encodeAsHTML()} |
---|
| 35 | </g:link> |
---|
[96] | 36 | </td> |
---|
[242] | 37 | </tr> |
---|
[96] | 38 | |
---|
| 39 | <tr class="prop"> |
---|
| 40 | <td valign="top" class="name"> |
---|
| 41 | <label for="person">Person:</label> |
---|
| 42 | </td> |
---|
| 43 | <td valign="top" class="value ${hasErrors(bean:assignedPersonInstance,field:'person','errors')}"> |
---|
| 44 | <g:select optionKey="id" from="${Person.list()}" name="person.id" value="${assignedPersonInstance?.person?.id}" ></g:select> |
---|
| 45 | </td> |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name"> |
---|
[147] | 50 | <label for="durationHour">Estimated Duration:</label> |
---|
[96] | 51 | </td> |
---|
[147] | 52 | |
---|
| 53 | <td valign="top" class="value"> |
---|
| 54 | <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedHour','errors')}" |
---|
| 55 | type="text" id="estimatedHour" name="estimatedHour" |
---|
| 56 | value="${fieldValue(bean:assignedPersonInstance,field:'estimatedHour')}" /> |
---|
| 57 | : |
---|
| 58 | <input class="time ${hasErrors(bean:assignedPersonInstance,field:'estimatedMinute','errors')}" |
---|
| 59 | type="text" id="estimatedMinute" name="estimatedMinute" |
---|
| 60 | value="${fieldValue(bean:assignedPersonInstance,field:'estimatedMinute')}" /> |
---|
| 61 | <g:helpBalloon code="assignedPerson.estimatedDuration" /> |
---|
| 62 | </td> |
---|
| 63 | </tr> |
---|
[96] | 64 | |
---|
| 65 | </tbody> |
---|
| 66 | </table> |
---|
| 67 | </div> |
---|
| 68 | <div class="buttons"> |
---|
| 69 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 70 | </div> |
---|
| 71 | </g:form> |
---|
| 72 | </div> |
---|
| 73 | </body> |
---|
| 74 | </html> |
---|