Changeset 97 for trunk/src/grails-app/views
- Timestamp:
- Apr 1, 2009, 5:07:23 AM (16 years ago)
- Location:
- trunk/src/grails-app/views/person
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/person/create.gsp
r73 r97 91 91 92 92 <tr class="prop"> 93 <td valign="top" class="name" align="left">A ssign Roles:</td>93 <td valign="top" class="name" align="left">Authorities:</td> 94 94 </tr> 95 95 -
trunk/src/grails-app/views/person/edit.gsp
r79 r97 59 59 <td valign="top" class="name"><label for="pass">Password:</label></td> 60 60 <td valign="top" class="value ${hasErrors(bean:person,field:'pass','errors')}"> 61 <input type="password" id="pass" name="pass" />61 <input type="password" id="pass" name="pass" value="${person.pass?.encodeAsHTML()}"/> 62 62 </td> 63 63 </tr> … … 98 98 </tr> 99 99 100 <tr class="prop"> 101 <td valign="top" class="name"><label for="authorities">Authorities:</label></td> 102 <td valign="top" class="value ${hasErrors(bean:person,field:'authorities','errors')}"> 103 <ul> 104 <g:each var="entry" in="${roleMap}"> 105 <li>${entry.key.authority.encodeAsHTML()} 106 <g:checkBox name="${entry.key.authority}" value="${entry.value}"/> 107 </li> 108 </g:each> 109 </ul> 110 </td> 111 </tr> 100 <tr class="prop"> 101 <td valign="top" class="name" align="left">Authorities:</td> 102 </tr> 103 104 <g:each var="entry" in="${roleMap}"> 105 <tr> 106 <td valign="top" class="name" align="left">${entry.key.authority.encodeAsHTML()}</td> 107 <td align="left"><g:checkBox name="${entry.key.authority}" value="${entry.value}"/></td> 108 </tr> 109 </g:each> 112 110 113 111 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.