Changeset 164 for trunk/grails-app/views/department/create.gsp
- Timestamp:
- Oct 23, 2009, 9:49:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/department/create.gsp
r162 r164 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for=" costCode">Cost Code:</label>31 <label for="name">Name:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:' costCode','errors')}">34 <input type="text" id=" costCode" name="costCode" value="${fieldValue(bean:departmentInstance,field:'costCode')}"/>33 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'name','errors')}"> 34 <input type="text" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/> 35 35 </td> 36 36 </tr> … … 47 47 <tr class="prop"> 48 48 <td valign="top" class="name"> 49 <label for=" isActive">Is Active:</label>49 <label for="costCode">Cost Code:</label> 50 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:' isActive','errors')}">52 < g:checkBox name="isActive" value="${departmentInstance?.isActive}" ></g:checkBox>51 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'costCode','errors')}"> 52 <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:departmentInstance,field:'costCode')}"/> 53 53 </td> 54 54 </tr> … … 56 56 <tr class="prop"> 57 57 <td valign="top" class="name"> 58 <label for=" name">Name:</label>58 <label for="isActive">Is Active:</label> 59 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:' name','errors')}">61 < input type="text" id="name" name="name" value="${fieldValue(bean:departmentInstance,field:'name')}"/>60 <td valign="top" class="value ${hasErrors(bean:departmentInstance,field:'isActive','errors')}"> 61 <g:checkBox name="isActive" value="${departmentInstance?.isActive}" ></g:checkBox> 62 62 </td> 63 63 </tr>
Note: See TracChangeset
for help on using the changeset viewer.