Changeset 161 for trunk/grails-app/views/assetDetailed
- Timestamp:
- Oct 22, 2009, 4:33:25 PM (15 years ago)
- Location:
- trunk/grails-app/views/assetDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetDetailed/create.gsp
r139 r161 37 37 <tr class="prop"> 38 38 <td valign="top" class="name"> 39 <label for="description">Description:</label> 40 </td> 41 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'description','errors')}"> 42 <input type="text" id="description" name="description" value="${fieldValue(bean:assetInstance,field:'description')}"/> 43 </td> 44 </tr> 45 46 <tr class="prop"> 47 <td valign="top" class="name"> 48 <label for="costCode">Cost Code:</label> 49 </td> 50 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'costCode','errors')}"> 51 <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:assetInstance,field:'costCode')}"/> 52 </td> 53 </tr> 54 55 <tr class="prop"> 56 <td valign="top" class="name"> 39 57 <label for="assetType">Asset Type:</label> 40 58 </td> … … 51 69 <g:select optionKey="id" from="${SystemSection.list()}" name="systemSection.id" value="${assetInstance?.systemSection?.id}" ></g:select> 52 70 </td> 53 </tr> 54 55 <tr class="prop"> 56 <td valign="top" class="name"> 57 <label for="description">Description:</label> 58 </td> 59 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'description','errors')}"> 60 <input type="text" id="description" name="description" value="${fieldValue(bean:assetInstance,field:'description')}"/> 61 </td> 62 </tr> 63 71 </tr> 72 64 73 <tr class="prop"> 65 74 <td valign="top" class="name"> -
trunk/grails-app/views/assetDetailed/edit.gsp
r139 r161 39 39 <tr class="prop"> 40 40 <td valign="top" class="name"> 41 <label for="description">Description:</label> 42 </td> 43 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'description','errors')}"> 44 <input type="text" id="description" name="description" value="${fieldValue(bean:assetInstance,field:'description')}"/> 45 </td> 46 </tr> 47 48 <tr class="prop"> 49 <td valign="top" class="name"> 50 <label for="costCode">Cost Code:</label> 51 </td> 52 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'costCode','errors')}"> 53 <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:assetInstance,field:'costCode')}"/> 54 </td> 55 </tr> 56 57 <tr class="prop"> 58 <td valign="top" class="name"> 41 59 <label for="assetType">Asset Type:</label> 42 60 </td> … … 52 70 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'systemSection','errors')}"> 53 71 <g:select optionKey="id" from="${SystemSection.list()}" name="systemSection.id" value="${assetInstance?.systemSection?.id}" ></g:select> 54 </td>55 </tr>56 57 <tr class="prop">58 <td valign="top" class="name">59 <label for="description">Description:</label>60 </td>61 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'description','errors')}">62 <input type="text" id="description" name="description" value="${fieldValue(bean:assetInstance,field:'description')}"/>63 72 </td> 64 73 </tr> -
trunk/grails-app/views/assetDetailed/show.gsp
r139 r161 36 36 37 37 <tr class="prop"> 38 <td valign="top" class="name">Description:</td> 39 40 <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'description')}</td> 41 42 </tr> 43 44 <tr class="prop"> 45 <td valign="top" class="name">Cost Code:</td> 46 47 <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'costCode')}</td> 48 49 </tr> 50 51 <tr class="prop"> 38 52 <td valign="top" class="name">Asset Type:</td> 39 53 … … 60 74 61 75 <td valign="top" class="value"><g:link controller="systemSectionDetailed" action="show" id="${assetInstance?.systemSection?.id}">${assetInstance?.systemSection?.encodeAsHTML()}</g:link></td> 62 63 </tr>64 65 <tr class="prop">66 <td valign="top" class="name">Description:</td>67 68 <td valign="top" class="value">${fieldValue(bean:assetInstance, field:'description')}</td>69 76 70 77 </tr>
Note: See TracChangeset
for help on using the changeset viewer.