| [66] | 1 |  | 
|---|
 | 2 |  | 
|---|
 | 3 | <html> | 
|---|
 | 4 |     <head> | 
|---|
 | 5 |         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | 
|---|
 | 6 |         <meta name="layout" content="main" /> | 
|---|
| [178] | 7 |         <title>Create TaskModification</title> | 
|---|
| [66] | 8 |     </head> | 
|---|
 | 9 |     <body> | 
|---|
 | 10 |         <div class="nav"> | 
|---|
| [93] | 11 |             <span class="menuButton"><g:link class="list" action="list">TaskModification List</g:link></span> | 
|---|
| [66] | 12 |         </div> | 
|---|
 | 13 |         <div class="body"> | 
|---|
| [93] | 14 |             <h1>Create TaskModification</h1> | 
|---|
| [66] | 15 |             <g:if test="${flash.message}"> | 
|---|
 | 16 |             <div class="message">${flash.message}</div> | 
|---|
 | 17 |             </g:if> | 
|---|
| [93] | 18 |             <g:hasErrors bean="${taskModificationInstance}"> | 
|---|
| [66] | 19 |             <div class="errors"> | 
|---|
| [93] | 20 |                 <g:renderErrors bean="${taskModificationInstance}" as="list" /> | 
|---|
| [66] | 21 |             </div> | 
|---|
 | 22 |             </g:hasErrors> | 
|---|
 | 23 |             <g:form action="save" method="post" > | 
|---|
 | 24 |                 <div class="dialog"> | 
|---|
 | 25 |                     <table> | 
|---|
 | 26 |                         <tbody> | 
|---|
 | 27 |                          | 
|---|
 | 28 |                             <tr class="prop"> | 
|---|
 | 29 |                                 <td valign="top" class="name"> | 
|---|
 | 30 |                                     <label for="person">Person:</label> | 
|---|
 | 31 |                                 </td> | 
|---|
| [93] | 32 |                                 <td valign="top" class="value ${hasErrors(bean:taskModificationInstance,field:'person','errors')}"> | 
|---|
 | 33 |                                     <g:select optionKey="id" from="${Person.list()}" name="person.id" value="${taskModificationInstance?.person?.id}" ></g:select> | 
|---|
| [66] | 34 |                                 </td> | 
|---|
 | 35 |                             </tr>  | 
|---|
 | 36 |                          | 
|---|
 | 37 |                             <tr class="prop"> | 
|---|
 | 38 |                                 <td valign="top" class="name"> | 
|---|
| [93] | 39 |                                     <label for="taskModificationType">Task Modification Type:</label> | 
|---|
| [66] | 40 |                                 </td> | 
|---|
| [93] | 41 |                                 <td valign="top" class="value ${hasErrors(bean:taskModificationInstance,field:'taskModificationType','errors')}"> | 
|---|
 | 42 |                                     <g:select optionKey="id" from="${TaskModificationType.list()}" name="taskModificationType.id" value="${taskModificationInstance?.taskModificationType?.id}" ></g:select> | 
|---|
| [66] | 43 |                                 </td> | 
|---|
 | 44 |                             </tr>  | 
|---|
 | 45 |                          | 
|---|
 | 46 |                             <tr class="prop"> | 
|---|
 | 47 |                                 <td valign="top" class="name"> | 
|---|
 | 48 |                                     <label for="task">Task:</label> | 
|---|
 | 49 |                                 </td> | 
|---|
| [93] | 50 |                                 <td valign="top" class="value ${hasErrors(bean:taskModificationInstance,field:'task','errors')}"> | 
|---|
 | 51 |                                     <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskModificationInstance?.task?.id}" ></g:select> | 
|---|
| [66] | 52 |                                 </td> | 
|---|
 | 53 |                             </tr>  | 
|---|
 | 54 |                          | 
|---|
 | 55 |                             <tr class="prop"> | 
|---|
 | 56 |                                 <td valign="top" class="name"> | 
|---|
 | 57 |                                     <label for="date">Date:</label> | 
|---|
 | 58 |                                 </td> | 
|---|
| [93] | 59 |                                 <td valign="top" class="value ${hasErrors(bean:taskModificationInstance,field:'date','errors')}"> | 
|---|
| [178] | 60 |                                     <g:datePicker name="date" value="${taskModificationInstance?.date}" precision="minute" ></g:datePicker> | 
|---|
| [66] | 61 |                                 </td> | 
|---|
 | 62 |                             </tr>  | 
|---|
 | 63 |                          | 
|---|
 | 64 |                             <tr class="prop"> | 
|---|
 | 65 |                                 <td valign="top" class="name"> | 
|---|
 | 66 |                                     <label for="comment">Comment:</label> | 
|---|
 | 67 |                                 </td> | 
|---|
| [93] | 68 |                                 <td valign="top" class="value ${hasErrors(bean:taskModificationInstance,field:'comment','errors')}"> | 
|---|
 | 69 |                                     <input type="text" id="comment" name="comment" value="${fieldValue(bean:taskModificationInstance,field:'comment')}"/> | 
|---|
| [66] | 70 |                                 </td> | 
|---|
 | 71 |                             </tr>  | 
|---|
 | 72 |                          | 
|---|
 | 73 |                         </tbody> | 
|---|
 | 74 |                     </table> | 
|---|
 | 75 |                 </div> | 
|---|
 | 76 |                 <div class="buttons"> | 
|---|
 | 77 |                     <span class="button"><input class="save" type="submit" value="Create" /></span> | 
|---|
 | 78 |                 </div> | 
|---|
 | 79 |             </g:form> | 
|---|
 | 80 |         </div> | 
|---|
 | 81 |     </body> | 
|---|
 | 82 | </html> | 
|---|