Changeset 166 for trunk/grails-app/views/person/create.gsp
- Timestamp:
- Oct 26, 2009, 3:11:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/person/create.gsp
r164 r166 32 32 <td valign="top" class="value ${hasErrors(bean:person,field:'loginName','errors')}"> 33 33 <input type="text" id="loginName" name="loginName" value="${person.loginName?.encodeAsHTML()}"/> 34 <g:helpBalloon class="helpballoon" code="person.loginName" /> 34 35 </td> 35 36 </tr> … … 39 40 <td valign="top" class="value ${hasErrors(bean:person,field:'firstName','errors')}"> 40 41 <input type="text" id="firstName" name="firstName" value="${person.firstName?.encodeAsHTML()}"/> 42 <g:helpBalloon class="helpballoon" code="person.firstName" /> 41 43 </td> 42 44 </tr> … … 46 48 <td valign="top" class="value ${hasErrors(bean:person,field:'lastName','errors')}"> 47 49 <input type="text" id="lastName" name="lastName" value="${person.lastName?.encodeAsHTML()}"/> 50 <g:helpBalloon class="helpballoon" code="person.lastName" /> 48 51 </td> 49 52 </tr> … … 54 57 <td valign="top" class="value ${hasErrors(bean:person,field:'pass','errors')}"> 55 58 <input type="password" id="pass" name="pass"/> 59 <g:helpBalloon class="helpballoon" code="person.password" /> 56 60 </td> 57 61 </tr> 58 62 59 63 <tr class="prop"> 60 <td valign="top" class="name"><label for="isActive"> isActive:</label></td>64 <td valign="top" class="name"><label for="isActive">Active:</label></td> 61 65 <td valign="top" class="value ${hasErrors(bean:person,field:'isActive','errors')}"> 62 66 <g:checkBox name="isActive" value="${person.isActive}" ></g:checkBox> 67 <g:helpBalloon class="helpballoon" code="person.isActive" /> 63 68 </td> 64 69 </tr> … … 106 111 </td> 107 112 <td valign="top" class="value ${hasErrors(bean:person,field:'personGroups','errors')}"> 108 <g:select name="personGroups"113 <g:select id="personGroups" name="personGroups" 109 114 from="${PersonGroup.list()}" 110 size="5" multiple="yes" optionKey="id"111 value="${person?.personGroups }"/>112 115 optionKey="id" size="5" multiple="yes" 116 value="${person?.personGroups?.id}" noSelection="['':'--None--']"/> 117 <g:helpBalloon class="helpballoon" code="person.personGroups" /> 113 118 </td> 114 119 </tr> 115 120 116 121 <tr class="prop"> 117 <td valign="top" class="name" align="left">Authorities:</td> 122 <td valign="top" class="name" align="left"> 123 Authorities: 124 </td> 125 <td valign="top" class="name" align="left"> 126 <g:helpBalloon class="helpballoon" code="person.authorities" /> 127 </td> 118 128 </tr> 119 129 … … 121 131 <tr> 122 132 <td valign="top" class="name" align="left">${it.authority.encodeAsHTML()}</td> 123 <td align="left"><g:checkBox name="${it.authority}"/></td> 133 <td align="left"> 134 <g:checkBox name="${it.authority}" value="${it.authority == 'ROLE_AppUser'}"/> 135 </td> 124 136 </tr> 125 137 </g:each>
Note: See TracChangeset
for help on using the changeset viewer.