Changeset 124 for trunk/grails-app/views/assetDetailed/create.gsp
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/assetDetailed
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetDetailed/create.gsp
r122 r124 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:assetInstance,field:'name','errors')}"> 34 <input type="text" id="name" name="name" value="${fieldValue(bean:assetInstance,field:'name')}"/> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 31 40 <label for="assetType">Asset Type:</label> 32 41 </td> 33 42 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'assetType','errors')}"> 34 43 <g:select optionKey="id" from="${AssetType.list()}" name="assetType.id" value="${assetInstance?.assetType?.id}" ></g:select> 44 </td> 45 </tr> 46 47 <tr class="prop"> 48 <td valign="top" class="name"> 49 <label for="systemSection">System Section:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'systemSection','errors')}"> 52 <g:select optionKey="id" from="${SystemSection.list()}" name="systemSection.id" value="${assetInstance?.systemSection?.id}" ></g:select> 35 53 </td> 36 54 </tr> … … 53 71 </td> 54 72 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="name">Name:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'name','errors')}"> 61 <input type="text" id="name" name="name" value="${fieldValue(bean:assetInstance,field:'name')}"/> 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name"> 67 <label for="systemSection">System Section:</label> 68 </td> 69 <td valign="top" class="value ${hasErrors(bean:assetInstance,field:'systemSection','errors')}"> 70 <g:select optionKey="id" from="${SystemSection.list()}" name="systemSection.id" value="${assetInstance?.systemSection?.id}" ></g:select> 71 </td> 72 </tr> 73 73 74 74 </tbody> 75 75 </table>
Note: See TracChangeset
for help on using the changeset viewer.