| [122] | 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 TaskRecurringSchedule</title> | 
|---|
| [122] | 8 |     </head> | 
|---|
 | 9 |     <body> | 
|---|
 | 10 |         <div class="nav"> | 
|---|
| [131] | 11 |             <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> | 
|---|
| [122] | 12 |         </div> | 
|---|
 | 13 |         <div class="body"> | 
|---|
| [131] | 14 |             <h1>Create TaskRecurringSchedule</h1> | 
|---|
| [122] | 15 |             <g:if test="${flash.message}"> | 
|---|
 | 16 |             <div class="message">${flash.message}</div> | 
|---|
 | 17 |             </g:if> | 
|---|
| [131] | 18 |             <g:hasErrors bean="${taskRecurringScheduleInstance}"> | 
|---|
| [122] | 19 |             <div class="errors"> | 
|---|
| [131] | 20 |                 <g:renderErrors bean="${taskRecurringScheduleInstance}" as="list" /> | 
|---|
| [122] | 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"> | 
|---|
| [157] | 30 |                                     <label for="recurEvery">Recur Every:</label> | 
|---|
| [122] | 31 |                                 </td> | 
|---|
| [157] | 32 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> | 
|---|
 | 33 |                                     <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> | 
|---|
| [122] | 34 |                                 </td> | 
|---|
 | 35 |                             </tr>  | 
|---|
 | 36 |                          | 
|---|
 | 37 |                             <tr class="prop"> | 
|---|
 | 38 |                                 <td valign="top" class="name"> | 
|---|
| [157] | 39 |                                     <label for="taskDuration">Task Duration:</label> | 
|---|
| [123] | 40 |                                 </td> | 
|---|
| [157] | 41 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}"> | 
|---|
 | 42 |                                     <input type="text" id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> | 
|---|
| [123] | 43 |                                 </td> | 
|---|
 | 44 |                             </tr>  | 
|---|
 | 45 |                          | 
|---|
 | 46 |                             <tr class="prop"> | 
|---|
 | 47 |                                 <td valign="top" class="name"> | 
|---|
| [137] | 48 |                                     <label for="generateAhead">Generate Ahead:</label> | 
|---|
 | 49 |                                 </td> | 
|---|
 | 50 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> | 
|---|
 | 51 |                                     <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> | 
|---|
 | 52 |                                 </td> | 
|---|
 | 53 |                             </tr>  | 
|---|
 | 54 |                          | 
|---|
 | 55 |                             <tr class="prop"> | 
|---|
 | 56 |                                 <td valign="top" class="name"> | 
|---|
| [157] | 57 |                                     <label for="lastGeneratedSubTask">Last Generated Sub Task:</label> | 
|---|
 | 58 |                                 </td> | 
|---|
 | 59 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> | 
|---|
 | 60 |                                     <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> | 
|---|
 | 61 |                                 </td> | 
|---|
 | 62 |                             </tr>  | 
|---|
 | 63 |                          | 
|---|
 | 64 |                             <tr class="prop"> | 
|---|
 | 65 |                                 <td valign="top" class="name"> | 
|---|
| [199] | 66 |                                     <label for="enabled">Enabled:</label> | 
|---|
| [137] | 67 |                                 </td> | 
|---|
| [199] | 68 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'enabled','errors')}"> | 
|---|
 | 69 |                                     <g:checkBox name="enabled" value="${taskRecurringScheduleInstance?.enabled}" ></g:checkBox> | 
|---|
| [137] | 70 |                                 </td> | 
|---|
 | 71 |                             </tr>  | 
|---|
 | 72 |                          | 
|---|
 | 73 |                             <tr class="prop"> | 
|---|
 | 74 |                                 <td valign="top" class="name"> | 
|---|
| [157] | 75 |                                     <label for="nextGenerationDate">Next Generation Date:</label> | 
|---|
| [122] | 76 |                                 </td> | 
|---|
| [157] | 77 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}"> | 
|---|
| [159] | 78 |                                     <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" precision="minute" ></g:datePicker> | 
|---|
| [122] | 79 |                                 </td> | 
|---|
 | 80 |                             </tr>  | 
|---|
 | 81 |                          | 
|---|
 | 82 |                             <tr class="prop"> | 
|---|
 | 83 |                                 <td valign="top" class="name"> | 
|---|
| [157] | 84 |                                     <label for="nextTargetCompletionDate">Next Target Completion Date:</label> | 
|---|
| [122] | 85 |                                 </td> | 
|---|
| [157] | 86 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}"> | 
|---|
| [159] | 87 |                                     <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" precision="minute" ></g:datePicker> | 
|---|
| [122] | 88 |                                 </td> | 
|---|
 | 89 |                             </tr>  | 
|---|
 | 90 |                          | 
|---|
 | 91 |                             <tr class="prop"> | 
|---|
 | 92 |                                 <td valign="top" class="name"> | 
|---|
| [157] | 93 |                                     <label for="nextTargetStartDate">Next Target Start Date:</label> | 
|---|
| [122] | 94 |                                 </td> | 
|---|
| [157] | 95 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> | 
|---|
| [159] | 96 |                                     <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" precision="minute" ></g:datePicker> | 
|---|
| [122] | 97 |                                 </td> | 
|---|
 | 98 |                             </tr>  | 
|---|
 | 99 |                          | 
|---|
 | 100 |                             <tr class="prop"> | 
|---|
 | 101 |                                 <td valign="top" class="name"> | 
|---|
| [137] | 102 |                                     <label for="recurPeriod">Recur Period:</label> | 
|---|
 | 103 |                                 </td> | 
|---|
 | 104 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurPeriod','errors')}"> | 
|---|
 | 105 |                                     <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> | 
|---|
 | 106 |                                 </td> | 
|---|
 | 107 |                             </tr>  | 
|---|
 | 108 |                          | 
|---|
 | 109 |                             <tr class="prop"> | 
|---|
 | 110 |                                 <td valign="top" class="name"> | 
|---|
| [199] | 111 |                                     <label for="subTasksGenerated">Sub Tasks Generated:</label> | 
|---|
| [122] | 112 |                                 </td> | 
|---|
| [199] | 113 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'subTasksGenerated','errors')}"> | 
|---|
 | 114 |                                     <input type="text" id="subTasksGenerated" name="subTasksGenerated" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'subTasksGenerated')}" /> | 
|---|
| [122] | 115 |                                 </td> | 
|---|
 | 116 |                             </tr>  | 
|---|
 | 117 |                          | 
|---|
 | 118 |                             <tr class="prop"> | 
|---|
 | 119 |                                 <td valign="top" class="name"> | 
|---|
 | 120 |                                     <label for="task">Task:</label> | 
|---|
 | 121 |                                 </td> | 
|---|
| [131] | 122 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'task','errors')}"> | 
|---|
 | 123 |                                     <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskRecurringScheduleInstance?.task?.id}" ></g:select> | 
|---|
| [122] | 124 |                                 </td> | 
|---|
 | 125 |                             </tr>  | 
|---|
 | 126 |                          | 
|---|
| [157] | 127 |                             <tr class="prop"> | 
|---|
 | 128 |                                 <td valign="top" class="name"> | 
|---|
 | 129 |                                     <label for="taskDurationPeriod">Task Duration Period:</label> | 
|---|
 | 130 |                                 </td> | 
|---|
 | 131 |                                 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDurationPeriod','errors')}"> | 
|---|
 | 132 |                                     <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> | 
|---|
 | 133 |                                 </td> | 
|---|
 | 134 |                             </tr>  | 
|---|
 | 135 |                          | 
|---|
| [122] | 136 |                         </tbody> | 
|---|
 | 137 |                     </table> | 
|---|
 | 138 |                 </div> | 
|---|
 | 139 |                 <div class="buttons"> | 
|---|
 | 140 |                     <span class="button"><input class="save" type="submit" value="Create" /></span> | 
|---|
 | 141 |                 </div> | 
|---|
 | 142 |             </g:form> | 
|---|
 | 143 |         </div> | 
|---|
 | 144 |     </body> | 
|---|
 | 145 | </html> | 
|---|