[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" /> |
---|
[131] | 7 | <title>Edit TaskRecurringSchedule</title> |
---|
[122] | 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[151] | 11 | <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span> |
---|
[131] | 12 | <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New TaskRecurringSchedule</g:link></span> |
---|
[122] | 14 | </div> |
---|
| 15 | <div class="body"> |
---|
[131] | 16 | <h1>Edit TaskRecurringSchedule</h1> |
---|
[122] | 17 | <g:if test="${flash.message}"> |
---|
| 18 | <div class="message">${flash.message}</div> |
---|
| 19 | </g:if> |
---|
[131] | 20 | <g:hasErrors bean="${taskRecurringScheduleInstance}"> |
---|
[122] | 21 | <div class="errors"> |
---|
[131] | 22 | <g:renderErrors bean="${taskRecurringScheduleInstance}" as="list" /> |
---|
[122] | 23 | </div> |
---|
| 24 | </g:hasErrors> |
---|
| 25 | <g:form method="post" > |
---|
[131] | 26 | <input type="hidden" name="id" value="${taskRecurringScheduleInstance?.id}" /> |
---|
| 27 | <input type="hidden" name="version" value="${taskRecurringScheduleInstance?.version}" /> |
---|
[122] | 28 | <div class="dialog"> |
---|
| 29 | <table> |
---|
| 30 | <tbody> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
| 33 | <td valign="top" class="name"> |
---|
[131] | 34 | <label for="lastGeneratedDate">Last Generated Date:</label> |
---|
[122] | 35 | </td> |
---|
[131] | 36 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedDate','errors')}"> |
---|
| 37 | <g:datePicker name="lastGeneratedDate" value="${taskRecurringScheduleInstance?.lastGeneratedDate}" noSelection="['':'']"></g:datePicker> |
---|
[122] | 38 | </td> |
---|
| 39 | </tr> |
---|
| 40 | |
---|
| 41 | <tr class="prop"> |
---|
| 42 | <td valign="top" class="name"> |
---|
[131] | 43 | <label for="lastGeneratedSubTask">Last Generated Sub Task:</label> |
---|
[123] | 44 | </td> |
---|
[131] | 45 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> |
---|
| 46 | <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> |
---|
[123] | 47 | </td> |
---|
| 48 | </tr> |
---|
| 49 | |
---|
| 50 | <tr class="prop"> |
---|
| 51 | <td valign="top" class="name"> |
---|
[137] | 52 | <label for="generateAhead">Generate Ahead:</label> |
---|
| 53 | </td> |
---|
| 54 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> |
---|
| 55 | <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> |
---|
| 56 | </td> |
---|
| 57 | </tr> |
---|
| 58 | |
---|
| 59 | <tr class="prop"> |
---|
| 60 | <td valign="top" class="name"> |
---|
| 61 | <label for="generateAheadPeriod">Generate Ahead Period:</label> |
---|
| 62 | </td> |
---|
| 63 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAheadPeriod','errors')}"> |
---|
| 64 | <g:select optionKey="id" from="${Period.list()}" name="generateAheadPeriod.id" value="${taskRecurringScheduleInstance?.generateAheadPeriod?.id}" ></g:select> |
---|
| 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | |
---|
| 68 | <tr class="prop"> |
---|
| 69 | <td valign="top" class="name"> |
---|
[131] | 70 | <label for="isEnabled">Is Enabled:</label> |
---|
[123] | 71 | </td> |
---|
[131] | 72 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'isEnabled','errors')}"> |
---|
| 73 | <g:checkBox name="isEnabled" value="${taskRecurringScheduleInstance?.isEnabled}" ></g:checkBox> |
---|
[123] | 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name"> |
---|
[131] | 79 | <label for="nextDueDate">Next Due Date:</label> |
---|
[122] | 80 | </td> |
---|
[131] | 81 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}"> |
---|
| 82 | <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker> |
---|
[122] | 83 | </td> |
---|
| 84 | </tr> |
---|
| 85 | |
---|
| 86 | <tr class="prop"> |
---|
| 87 | <td valign="top" class="name"> |
---|
[137] | 88 | <label for="nextGenerationDate">Next Generation Date:</label> |
---|
[122] | 89 | </td> |
---|
[137] | 90 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextGenerationDate','errors')}"> |
---|
| 91 | <g:datePicker name="nextGenerationDate" value="${taskRecurringScheduleInstance?.nextGenerationDate}" ></g:datePicker> |
---|
[122] | 92 | </td> |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | <tr class="prop"> |
---|
| 96 | <td valign="top" class="name"> |
---|
| 97 | <label for="recurEvery">Recur Every:</label> |
---|
| 98 | </td> |
---|
[131] | 99 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> |
---|
| 100 | <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> |
---|
[122] | 101 | </td> |
---|
| 102 | </tr> |
---|
| 103 | |
---|
| 104 | <tr class="prop"> |
---|
| 105 | <td valign="top" class="name"> |
---|
[137] | 106 | <label for="recurPeriod">Recur Period:</label> |
---|
| 107 | </td> |
---|
| 108 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurPeriod','errors')}"> |
---|
| 109 | <g:select optionKey="id" from="${Period.list()}" name="recurPeriod.id" value="${taskRecurringScheduleInstance?.recurPeriod?.id}" ></g:select> |
---|
| 110 | </td> |
---|
| 111 | </tr> |
---|
| 112 | |
---|
| 113 | <tr class="prop"> |
---|
| 114 | <td valign="top" class="name"> |
---|
[122] | 115 | <label for="startDate">Start Date:</label> |
---|
| 116 | </td> |
---|
[131] | 117 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'startDate','errors')}"> |
---|
| 118 | <g:datePicker name="startDate" value="${taskRecurringScheduleInstance?.startDate}" ></g:datePicker> |
---|
[122] | 119 | </td> |
---|
| 120 | </tr> |
---|
| 121 | |
---|
| 122 | <tr class="prop"> |
---|
| 123 | <td valign="top" class="name"> |
---|
| 124 | <label for="task">Task:</label> |
---|
| 125 | </td> |
---|
[131] | 126 | <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'task','errors')}"> |
---|
| 127 | <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${taskRecurringScheduleInstance?.task?.id}" ></g:select> |
---|
[122] | 128 | </td> |
---|
| 129 | </tr> |
---|
| 130 | |
---|
| 131 | </tbody> |
---|
| 132 | </table> |
---|
| 133 | </div> |
---|
| 134 | <div class="buttons"> |
---|
| 135 | <span class="button"><g:actionSubmit class="save" value="Update" /></span> |
---|
| 136 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 137 | </div> |
---|
| 138 | </g:form> |
---|
| 139 | </div> |
---|
| 140 | </body> |
---|
| 141 | </html> |
---|