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