Changeset 124 for trunk/grails-app/views/assetExtendedAttribute
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/assetExtendedAttribute
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetExtendedAttribute/create.gsp
r122 r124 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="asset ExtendedAttributeType">Asset Extended Attribute Type:</label>31 <label for="asset">Asset:</label> 32 32 </td> 33 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset ExtendedAttributeType','errors')}">34 <g:select optionKey="id" from="${Asset ExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select>33 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 34 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 35 35 </td> 36 36 </tr> … … 38 38 <tr class="prop"> 39 39 <td valign="top" class="name"> 40 <label for="asset Type">AssetType:</label>40 <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label> 41 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset Type','errors')}">43 <g:select optionKey="id" from="${Asset Type.list()}" name="assetType.id" value="${assetExtendedAttributeInstance?.assetType?.id}" ></g:select>42 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}"> 43 <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select> 44 44 </td> 45 45 </tr> -
trunk/grails-app/views/assetExtendedAttribute/edit.gsp
r122 r124 32 32 <tr class="prop"> 33 33 <td valign="top" class="name"> 34 <label for="asset ExtendedAttributeType">Asset Extended Attribute Type:</label>34 <label for="asset">Asset:</label> 35 35 </td> 36 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset ExtendedAttributeType','errors')}">37 <g:select optionKey="id" from="${Asset ExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select>36 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 37 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 38 38 </td> 39 39 </tr> … … 41 41 <tr class="prop"> 42 42 <td valign="top" class="name"> 43 <label for="asset Type">AssetType:</label>43 <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label> 44 44 </td> 45 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset Type','errors')}">46 <g:select optionKey="id" from="${Asset Type.list()}" name="assetType.id" value="${assetExtendedAttributeInstance?.assetType?.id}" ></g:select>45 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}"> 46 <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select> 47 47 </td> 48 48 </tr> -
trunk/grails-app/views/assetExtendedAttribute/list.gsp
r122 r124 24 24 <g:sortableColumn property="id" title="Id" /> 25 25 26 <th>Asset</th> 27 26 28 <th>Asset Extended Attribute Type</th> 27 28 <th>Asset Type</th>29 29 30 30 <g:sortableColumn property="isActive" title="Is Active" /> … … 40 40 <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td> 41 41 42 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> 43 42 44 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td> 43 44 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetType')}</td>45 45 46 46 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td> -
trunk/grails-app/views/assetExtendedAttribute/show.gsp
r122 r124 31 31 32 32 <tr class="prop"> 33 <td valign="top" class="name">Asset Extended Attribute Type:</td>33 <td valign="top" class="name">Asset:</td> 34 34 35 <td valign="top" class="value"><g:link controller="asset ExtendedAttributeType" action="show" id="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}">${assetExtendedAttributeInstance?.assetExtendedAttributeType?.encodeAsHTML()}</g:link></td>35 <td valign="top" class="value"><g:link controller="asset" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td> 36 36 37 37 </tr> 38 38 39 39 <tr class="prop"> 40 <td valign="top" class="name">Asset Type:</td>40 <td valign="top" class="name">Asset Extended Attribute Type:</td> 41 41 42 <td valign="top" class="value"><g:link controller="asset Type" action="show" id="${assetExtendedAttributeInstance?.assetType?.id}">${assetExtendedAttributeInstance?.assetType?.encodeAsHTML()}</g:link></td>42 <td valign="top" class="value"><g:link controller="assetExtendedAttributeType" action="show" id="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}">${assetExtendedAttributeInstance?.assetExtendedAttributeType?.encodeAsHTML()}</g:link></td> 43 43 44 44 </tr>
Note: See TracChangeset
for help on using the changeset viewer.