Changeset 268 for trunk/grails-app/views/assetExtendedAttribute
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- Location:
- trunk/grails-app/views/assetExtendedAttribute
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetExtendedAttribute/create.gsp
r178 r268 28 28 <tr class="prop"> 29 29 <td valign="top" class="name"> 30 <label for=" asset">Asset:</label>30 <label for="value">Value:</label> 31 31 </td> 32 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 33 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 34 </td> 35 </tr> 36 37 <tr class="prop"> 38 <td valign="top" class="name"> 39 <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label> 40 </td> 41 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}"> 42 <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select> 32 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'value','errors')}"> 33 <input type="text" maxlength="100" id="value" name="value" value="${fieldValue(bean:assetExtendedAttributeInstance,field:'value')}"/> 43 34 </td> 44 35 </tr> … … 55 46 <tr class="prop"> 56 47 <td valign="top" class="name"> 57 <label for=" value">Value:</label>48 <label for="asset">Asset:</label> 58 49 </td> 59 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'value','errors')}"> 60 <input type="text" id="value" name="value" value="${fieldValue(bean:assetExtendedAttributeInstance,field:'value')}"/> 50 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 51 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 52 </td> 53 </tr> 54 55 <tr class="prop"> 56 <td valign="top" class="name"> 57 <label for="extendedAttributeType">Extended Attribute Type:</label> 58 </td> 59 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'extendedAttributeType','errors')}"> 60 <g:select optionKey="id" from="${ExtendedAttributeType.list()}" name="extendedAttributeType.id" value="${assetExtendedAttributeInstance?.extendedAttributeType?.id}" ></g:select> 61 61 </td> 62 62 </tr> -
trunk/grails-app/views/assetExtendedAttribute/edit.gsp
r178 r268 31 31 <tr class="prop"> 32 32 <td valign="top" class="name"> 33 <label for=" asset">Asset:</label>33 <label for="value">Value:</label> 34 34 </td> 35 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 36 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 37 </td> 38 </tr> 39 40 <tr class="prop"> 41 <td valign="top" class="name"> 42 <label for="assetExtendedAttributeType">Asset Extended Attribute Type:</label> 43 </td> 44 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'assetExtendedAttributeType','errors')}"> 45 <g:select optionKey="id" from="${AssetExtendedAttributeType.list()}" name="assetExtendedAttributeType.id" value="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}" ></g:select> 35 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'value','errors')}"> 36 <input type="text" maxlength="100" id="value" name="value" value="${fieldValue(bean:assetExtendedAttributeInstance,field:'value')}"/> 46 37 </td> 47 38 </tr> … … 58 49 <tr class="prop"> 59 50 <td valign="top" class="name"> 60 <label for=" value">Value:</label>51 <label for="asset">Asset:</label> 61 52 </td> 62 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'value','errors')}"> 63 <input type="text" id="value" name="value" value="${fieldValue(bean:assetExtendedAttributeInstance,field:'value')}"/> 53 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 54 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 55 </td> 56 </tr> 57 58 <tr class="prop"> 59 <td valign="top" class="name"> 60 <label for="extendedAttributeType">Extended Attribute Type:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'extendedAttributeType','errors')}"> 63 <g:select optionKey="id" from="${ExtendedAttributeType.list()}" name="extendedAttributeType.id" value="${assetExtendedAttributeInstance?.extendedAttributeType?.id}" ></g:select> 64 64 </td> 65 65 </tr> -
trunk/grails-app/views/assetExtendedAttribute/list.gsp
r178 r268 23 23 <g:sortableColumn property="id" title="Id" /> 24 24 25 <g:sortableColumn property="value" title="Value" /> 26 27 <g:sortableColumn property="isActive" title="Is Active" /> 28 25 29 <th>Asset</th> 26 30 27 <th> AssetExtended Attribute Type</th>31 <th>Extended Attribute Type</th> 28 32 29 <g:sortableColumn property="isActive" title="Is Active" />30 31 <g:sortableColumn property="value" title="Value" />32 33 33 </tr> 34 34 </thead> … … 39 39 <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td> 40 40 41 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> 42 43 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td> 41 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> 44 42 45 43 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td> 46 44 47 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> 45 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> 46 47 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'extendedAttributeType')}</td> 48 48 49 49 </tr> -
trunk/grails-app/views/assetExtendedAttribute/show.gsp
r178 r268 30 30 31 31 <tr class="prop"> 32 <td valign="top" class="name"> Asset:</td>32 <td valign="top" class="name">Value:</td> 33 33 34 <td valign="top" class="value"><g:link controller="asset" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td> 35 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name">Asset Extended Attribute Type:</td> 40 41 <td valign="top" class="value"><g:link controller="assetExtendedAttributeType" action="show" id="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}">${assetExtendedAttributeInstance?.assetExtendedAttributeType?.encodeAsHTML()}</g:link></td> 34 <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> 42 35 43 36 </tr> … … 51 44 52 45 <tr class="prop"> 53 <td valign="top" class="name"> Value:</td>46 <td valign="top" class="name">Asset:</td> 54 47 55 <td valign="top" class="value">${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> 48 <td valign="top" class="value"><g:link controller="asset" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td> 49 50 </tr> 51 52 <tr class="prop"> 53 <td valign="top" class="name">Extended Attribute Type:</td> 54 55 <td valign="top" class="value"><g:link controller="extendedAttributeType" action="show" id="${assetExtendedAttributeInstance?.extendedAttributeType?.id}">${assetExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td> 56 56 57 57 </tr>
Note: See TracChangeset
for help on using the changeset viewer.