Changeset 181 for trunk/grails-app/views/task
- Timestamp:
- Nov 5, 2009, 4:01:35 AM (15 years ago)
- Location:
- trunk/grails-app/views/task
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/task/create.gsp
r178 r181 127 127 <tr class="prop"> 128 128 <td valign="top" class="name"> 129 <label for=" isActive">Is Active:</label>129 <label for="approved">Approved:</label> 130 130 </td> 131 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' isActive','errors')}">132 <g:checkBox name=" isActive" value="${taskInstance?.isActive}" ></g:checkBox>131 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'approved','errors')}"> 132 <g:checkBox name="approved" value="${taskInstance?.approved}" ></g:checkBox> 133 133 </td> 134 134 </tr> … … 136 136 <tr class="prop"> 137 137 <td valign="top" class="name"> 138 <label for=" isApproved">Is Approved:</label>138 <label for="scheduled">Scheduled:</label> 139 139 </td> 140 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 141 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 142 </td> 143 </tr> 144 145 <tr class="prop"> 146 <td valign="top" class="name"> 147 <label for="isScheduled">Is Scheduled:</label> 148 </td> 149 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 150 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 140 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 141 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 151 142 </td> 152 143 </tr> … … 170 161 </tr> 171 162 163 <tr class="prop"> 164 <td valign="top" class="name"> 165 <label for="trash">Trash:</label> 166 </td> 167 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'trash','errors')}"> 168 <g:checkBox name="trash" value="${taskInstance?.trash}" ></g:checkBox> 169 </td> 170 </tr> 171 172 172 </tbody> 173 173 </table> -
trunk/grails-app/views/task/edit.gsp
r178 r181 130 130 <tr class="prop"> 131 131 <td valign="top" class="name"> 132 <label for="approved">Approved:</label> 133 </td> 134 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'approved','errors')}"> 135 <g:checkBox name="approved" value="${taskInstance?.approved}" ></g:checkBox> 136 </td> 137 </tr> 138 139 <tr class="prop"> 140 <td valign="top" class="name"> 132 141 <label for="assignedPersons">Assigned Persons:</label> 133 142 </td> … … 191 200 <tr class="prop"> 192 201 <td valign="top" class="name"> 193 <label for="isActive">Is Active:</label> 194 </td> 195 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isActive','errors')}"> 196 <g:checkBox name="isActive" value="${taskInstance?.isActive}" ></g:checkBox> 197 </td> 198 </tr> 199 200 <tr class="prop"> 201 <td valign="top" class="name"> 202 <label for="isApproved">Is Approved:</label> 203 </td> 204 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isApproved','errors')}"> 205 <g:checkBox name="isApproved" value="${taskInstance?.isApproved}" ></g:checkBox> 206 </td> 207 </tr> 208 209 <tr class="prop"> 210 <td valign="top" class="name"> 211 <label for="isScheduled">Is Scheduled:</label> 212 </td> 213 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'isScheduled','errors')}"> 214 <g:checkBox name="isScheduled" value="${taskInstance?.isScheduled}" ></g:checkBox> 202 <label for="scheduled">Scheduled:</label> 203 </td> 204 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'scheduled','errors')}"> 205 <g:checkBox name="scheduled" value="${taskInstance?.scheduled}" ></g:checkBox> 215 206 </td> 216 207 </tr> … … 263 254 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskType','errors')}"> 264 255 <g:select optionKey="id" from="${TaskType.list()}" name="taskType.id" value="${taskInstance?.taskType?.id}" ></g:select> 256 </td> 257 </tr> 258 259 <tr class="prop"> 260 <td valign="top" class="name"> 261 <label for="trash">Trash:</label> 262 </td> 263 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'trash','errors')}"> 264 <g:checkBox name="trash" value="${taskInstance?.trash}" ></g:checkBox> 265 265 </td> 266 266 </tr> -
trunk/grails-app/views/task/show.gsp
r178 r181 107 107 108 108 <tr class="prop"> 109 <td valign="top" class="name">Approved:</td> 110 111 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'approved')}</td> 112 113 </tr> 114 115 <tr class="prop"> 109 116 <td valign="top" class="name">Assigned Persons:</td> 110 117 … … 159 166 160 167 <tr class="prop"> 161 <td valign="top" class="name">Is Active:</td> 162 163 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> 164 165 </tr> 166 167 <tr class="prop"> 168 <td valign="top" class="name">Is Approved:</td> 169 170 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> 171 172 </tr> 173 174 <tr class="prop"> 175 <td valign="top" class="name">Is Scheduled:</td> 176 177 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> 168 <td valign="top" class="name">Scheduled:</td> 169 170 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduled')}</td> 178 171 179 172 </tr> … … 216 209 217 210 <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> 211 212 </tr> 213 214 <tr class="prop"> 215 <td valign="top" class="name">Trash:</td> 216 217 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'trash')}</td> 218 218 219 219 </tr>
Note: See TracChangeset
for help on using the changeset viewer.