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>Edit AssignedGroup</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Edit Assigned Group</h1> |
---|
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="${assignedGroupInstance}"> |
---|
18 | <div class="errors"> |
---|
19 | <g:renderErrors bean="${assignedGroupInstance}" as="list" /> |
---|
20 | </div> |
---|
21 | </g:hasErrors> |
---|
22 | <g:form method="post" > |
---|
23 | <g:hiddenField name="id" value="${assignedGroupInstance?.id}" /> |
---|
24 | <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" /> |
---|
25 | <g:hiddenField name="version" value="${assignedGroupInstance?.version}" /> |
---|
26 | <div class="dialog"> |
---|
27 | <table> |
---|
28 | <tbody> |
---|
29 | |
---|
30 | <tr class="prop"> |
---|
31 | <td valign="top" class="name"> |
---|
32 | <label for="task">Task:</label> |
---|
33 | </td> |
---|
34 | <td valign="top" class="name"> |
---|
35 | <g:link controller="taskDetailed" action="show" id="${assignedGroupInstance.task.id}" > |
---|
36 | ${assignedGroupInstance?.task.encodeAsHTML()} |
---|
37 | </g:link> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr class="prop"> |
---|
42 | <td valign="top" class="name"> |
---|
43 | <label for="personGroup">Group:</label> |
---|
44 | </td> |
---|
45 | <td valign="top" class="value ${hasErrors(bean:assignedGroupInstance,field:'personGroup','errors')}"> |
---|
46 | <g:select optionKey="id" from="${PersonGroup.list()}" name="personGroup.id" value="${assignedGroupInstance?.personGroup?.id}" ></g:select> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | |
---|
50 | <tr class="prop"> |
---|
51 | <td valign="top" class="name"> |
---|
52 | <label for="durationHour">Estimated Duration:</label> |
---|
53 | </td> |
---|
54 | <td valign="top" class="value"> |
---|
55 | <input class="time ${hasErrors(bean:assignedGroupInstance,field:'estimatedHour','errors')}" |
---|
56 | type="text" id="estimatedHour" name="estimatedHour" |
---|
57 | value="${fieldValue(bean:assignedGroupInstance,field:'estimatedHour')}" /> |
---|
58 | : |
---|
59 | <input class="time ${hasErrors(bean:assignedGroupInstance,field:'estimatedMinute','errors')}" |
---|
60 | type="text" id="estimatedMinute" name="estimatedMinute" |
---|
61 | value="${fieldValue(bean:assignedGroupInstance,field:'estimatedMinute')}" /> |
---|
62 | <g:helpBalloon code="assignedGroup.estimatedDuration" /> |
---|
63 | </td> |
---|
64 | </tr> |
---|
65 | |
---|
66 | </tbody> |
---|
67 | </table> |
---|
68 | </div> |
---|
69 | <div class="buttons"> |
---|
70 | <span class="button"><g:actionSubmit class="save" value="Update" /></span> |
---|
71 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
72 | </div> |
---|
73 | </g:form> |
---|
74 | </div> |
---|
75 | </body> |
---|
76 | </html> |
---|