Changeset 25 for trunk/src/grails-app/views/personGroup
- Timestamp:
- Jan 20, 2009, 8:08:17 PM (16 years ago)
- Location:
- trunk/src/grails-app/views/personGroup
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/personGroup/create.gsp
r19 r25 56 56 <tr class="prop"> 57 57 <td valign="top" class="name"> 58 <label for=" typeOfPersonGroup">Type Of Person Group:</label>58 <label for="personGroupType">Person Group Type:</label> 59 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:' typeOfPersonGroup','errors')}">61 <g:select optionKey="id" from="${ TypeOfPersonGroup.list()}" name="typeOfPersonGroup.id" value="${personGroupInstance?.typeOfPersonGroup?.id}" ></g:select>60 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:'personGroupType','errors')}"> 61 <g:select optionKey="id" from="${PersonGroupType.list()}" name="personGroupType.id" value="${personGroupInstance?.personGroupType?.id}" ></g:select> 62 62 </td> 63 63 </tr> -
trunk/src/grails-app/views/personGroup/edit.gsp
r19 r25 58 58 <tr class="prop"> 59 59 <td valign="top" class="name"> 60 <label for="personGroupType">Person Group Type:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:'personGroupType','errors')}"> 63 <g:select optionKey="id" from="${PersonGroupType.list()}" name="personGroupType.id" value="${personGroupInstance?.personGroupType?.id}" ></g:select> 64 </td> 65 </tr> 66 67 <tr class="prop"> 68 <td valign="top" class="name"> 60 69 <label for="persons">Persons:</label> 61 70 </td> … … 72 81 </tr> 73 82 74 <tr class="prop">75 <td valign="top" class="name">76 <label for="typeOfPersonGroup">Type Of Person Group:</label>77 </td>78 <td valign="top" class="value ${hasErrors(bean:personGroupInstance,field:'typeOfPersonGroup','errors')}">79 <g:select optionKey="id" from="${TypeOfPersonGroup.list()}" name="typeOfPersonGroup.id" value="${personGroupInstance?.typeOfPersonGroup?.id}" ></g:select>80 </td>81 </tr>82 83 83 </tbody> 84 84 </table> -
trunk/src/grails-app/views/personGroup/list.gsp
r19 r25 30 30 <g:sortableColumn property="name" title="Name" /> 31 31 32 <th> Type Of Person Group</th>32 <th>Person Group Type</th> 33 33 34 34 </tr> … … 46 46 <td>${fieldValue(bean:personGroupInstance, field:'name')}</td> 47 47 48 <td>${fieldValue(bean:personGroupInstance, field:' typeOfPersonGroup')}</td>48 <td>${fieldValue(bean:personGroupInstance, field:'personGroupType')}</td> 49 49 50 50 </tr> -
trunk/src/grails-app/views/personGroup/show.gsp
r19 r25 52 52 53 53 <tr class="prop"> 54 <td valign="top" class="name">Person s:</td>54 <td valign="top" class="name">Person Group Type:</td> 55 55 56 <td valign="top" class="value"> ${fieldValue(bean:personGroupInstance, field:'persons')}</td>56 <td valign="top" class="value"><g:link controller="personGroupType" action="show" id="${personGroupInstance?.personGroupType?.id}">${personGroupInstance?.personGroupType?.encodeAsHTML()}</g:link></td> 57 57 58 58 </tr> 59 59 60 60 <tr class="prop"> 61 <td valign="top" class="name"> Type Of Person Group:</td>61 <td valign="top" class="name">Persons:</td> 62 62 63 <td valign="top" class="value"> <g:link controller="typeOfPersonGroup" action="show" id="${personGroupInstance?.typeOfPersonGroup?.id}">${personGroupInstance?.typeOfPersonGroup?.encodeAsHTML()}</g:link></td>63 <td valign="top" class="value">${fieldValue(bean:personGroupInstance, field:'persons')}</td> 64 64 65 65 </tr>
Note: See TracChangeset
for help on using the changeset viewer.