Changeset 162 for trunk/grails-app/views/systemSectionDetailed/create.gsp
- Timestamp:
- Oct 22, 2009, 8:26:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/systemSectionDetailed/create.gsp
r151 r162 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="name">Name:</label> 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'name','errors')}"> 34 <input type="text" id="name" name="name" value="${fieldValue(bean:systemSectionInstance,field:'name')}"/> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 31 40 <label for="description">Description:</label> 32 41 </td> … … 34 43 <input type="text" id="description" name="description" value="${fieldValue(bean:systemSectionInstance,field:'description')}"/> 35 44 </td> 36 </tr> 45 </tr> 37 46 38 47 <tr class="prop"> 39 48 <td valign="top" class="name"> 40 <label for=" isActive">Is Active:</label>49 <label for="costCode">Cost Code:</label> 41 50 </td> 42 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:' isActive','errors')}">43 < g:checkBox name="isActive" value="${systemSectionInstance?.isActive}" ></g:checkBox>51 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'costCode','errors')}"> 52 <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:systemSectionInstance,field:'costCode')}"/> 44 53 </td> 45 54 </tr> … … 47 56 <tr class="prop"> 48 57 <td valign="top" class="name"> 49 <label for=" name">Name:</label>58 <label for="department">Department:</label> 50 59 </td> 51 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:' name','errors')}">52 < input type="text" id="name" name="name" value="${fieldValue(bean:systemSectionInstance,field:'name')}"/>60 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'department','errors')}"> 61 <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${systemSectionInstance?.department?.id}" ></g:select> 53 62 </td> 54 63 </tr> … … 63 72 </tr> 64 73 74 <tr class="prop"> 75 <td valign="top" class="name"> 76 <label for="isActive">Is Active:</label> 77 </td> 78 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'isActive','errors')}"> 79 <g:checkBox name="isActive" value="${systemSectionInstance?.isActive}" ></g:checkBox> 80 </td> 81 </tr> 82 65 83 </tbody> 66 84 </table>
Note: See TracChangeset
for help on using the changeset viewer.