Changeset 157 for trunk/grails-app/views/taskRecurringSchedule/create.gsp
- Timestamp:
- Oct 21, 2009, 5:07:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskRecurringSchedule/create.gsp
r151 r157 9 9 <body> 10 10 <div class="nav"> 11 <span class="menuButton"><a class="home" href="${ resource(dir:'')}">Home</a></span>11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="list" action="list">TaskRecurringSchedule List</g:link></span> 13 13 </div> … … 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="recurEvery">Recur Every:</label> 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 34 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 40 <label for="taskDuration">Task Duration:</label> 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDuration','errors')}"> 43 <input type="text" id="taskDuration" name="taskDuration" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'taskDuration')}" /> 44 </td> 45 </tr> 46 47 <tr class="prop"> 48 <td valign="top" class="name"> 49 <label for="generateAhead">Generate Ahead:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}"> 52 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" /> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 31 58 <label for="lastGeneratedDate">Last Generated Date:</label> 32 59 </td> … … 42 69 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'lastGeneratedSubTask','errors')}"> 43 70 <g:select optionKey="id" from="${Task.list()}" name="lastGeneratedSubTask.id" value="${taskRecurringScheduleInstance?.lastGeneratedSubTask?.id}" noSelection="['null':'']"></g:select> 44 </td>45 </tr>46 47 <tr class="prop">48 <td valign="top" class="name">49 <label for="generateAhead">Generate Ahead:</label>50 </td>51 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'generateAhead','errors')}">52 <input type="text" id="generateAhead" name="generateAhead" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'generateAhead')}" />53 71 </td> 54 72 </tr> … … 74 92 <tr class="prop"> 75 93 <td valign="top" class="name"> 76 <label for="nextDueDate">Next Due Date:</label>77 </td>78 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextDueDate','errors')}">79 <g:datePicker name="nextDueDate" value="${taskRecurringScheduleInstance?.nextDueDate}" ></g:datePicker>80 </td>81 </tr>82 83 <tr class="prop">84 <td valign="top" class="name">85 94 <label for="nextGenerationDate">Next Generation Date:</label> 86 95 </td> … … 92 101 <tr class="prop"> 93 102 <td valign="top" class="name"> 94 <label for=" recurEvery">Recur Every:</label>103 <label for="nextTargetCompletionDate">Next Target Completion Date:</label> 95 104 </td> 96 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'recurEvery','errors')}"> 97 <input type="text" id="recurEvery" name="recurEvery" value="${fieldValue(bean:taskRecurringScheduleInstance,field:'recurEvery')}" /> 105 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetCompletionDate','errors')}"> 106 <g:datePicker name="nextTargetCompletionDate" value="${taskRecurringScheduleInstance?.nextTargetCompletionDate}" ></g:datePicker> 107 </td> 108 </tr> 109 110 <tr class="prop"> 111 <td valign="top" class="name"> 112 <label for="nextTargetStartDate">Next Target Start Date:</label> 113 </td> 114 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'nextTargetStartDate','errors')}"> 115 <g:datePicker name="nextTargetStartDate" value="${taskRecurringScheduleInstance?.nextTargetStartDate}" ></g:datePicker> 98 116 </td> 99 117 </tr> … … 126 144 </tr> 127 145 146 <tr class="prop"> 147 <td valign="top" class="name"> 148 <label for="taskDurationPeriod">Task Duration Period:</label> 149 </td> 150 <td valign="top" class="value ${hasErrors(bean:taskRecurringScheduleInstance,field:'taskDurationPeriod','errors')}"> 151 <g:select optionKey="id" from="${Period.list()}" name="taskDurationPeriod.id" value="${taskRecurringScheduleInstance?.taskDurationPeriod?.id}" ></g:select> 152 </td> 153 </tr> 154 128 155 </tbody> 129 156 </table>
Note: See TracChangeset
for help on using the changeset viewer.