Changeset 40 for trunk/src/grails-app/views/person
- Timestamp:
- Jan 29, 2009, 8:31:15 PM (16 years ago)
- Location:
- trunk/src/grails-app/views/person
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/person/create.gsp
r35 r40 47 47 <tr class="prop"> 48 48 <td valign="top" class="name"> 49 <label for="userId">User Id:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'userId','errors')}"> 52 <input type="text" maxlength="8" id="userId" name="userId" value="${fieldValue(bean:personInstance,field:'userId')}"/> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="password">Password:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'password','errors')}"> 61 <input type="text" maxlength="8" id="password" name="password" value="${fieldValue(bean:personInstance,field:'password')}"/> 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name"> 49 67 <label for="employeeID">Employee ID:</label> 50 68 </td> -
trunk/src/grails-app/views/person/edit.gsp
r35 r40 44 44 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'lastName','errors')}"> 45 45 <input type="text" maxlength="50" id="lastName" name="lastName" value="${fieldValue(bean:personInstance,field:'lastName')}"/> 46 </td> 47 </tr> 48 49 <tr class="prop"> 50 <td valign="top" class="name"> 51 <label for="userId">User Id:</label> 52 </td> 53 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'userId','errors')}"> 54 <input type="text" maxlength="8" id="userId" name="userId" value="${fieldValue(bean:personInstance,field:'userId')}"/> 55 </td> 56 </tr> 57 58 <tr class="prop"> 59 <td valign="top" class="name"> 60 <label for="password">Password:</label> 61 </td> 62 <td valign="top" class="value ${hasErrors(bean:personInstance,field:'password','errors')}"> 63 <input type="text" maxlength="8" id="password" name="password" value="${fieldValue(bean:personInstance,field:'password')}"/> 46 64 </td> 47 65 </tr> -
trunk/src/grails-app/views/person/list.gsp
r35 r40 28 28 <g:sortableColumn property="lastName" title="Last Name" /> 29 29 30 <g:sortableColumn property="userId" title="User Id" /> 31 32 <g:sortableColumn property="password" title="Password" /> 33 30 34 <g:sortableColumn property="employeeID" title="Employee ID" /> 31 32 <g:sortableColumn property="isActive" title="Is Active" />33 35 34 36 </tr> … … 44 46 <td>${fieldValue(bean:personInstance, field:'lastName')}</td> 45 47 48 <td>${fieldValue(bean:personInstance, field:'userId')}</td> 49 50 <td>${fieldValue(bean:personInstance, field:'password')}</td> 51 46 52 <td>${fieldValue(bean:personInstance, field:'employeeID')}</td> 47 48 <td>${fieldValue(bean:personInstance, field:'isActive')}</td>49 53 50 54 </tr> -
trunk/src/grails-app/views/person/show.gsp
r35 r40 45 45 46 46 <tr class="prop"> 47 <td valign="top" class="name">User Id:</td> 48 49 <td valign="top" class="value">${fieldValue(bean:personInstance, field:'userId')}</td> 50 51 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Password:</td> 55 56 <td valign="top" class="value">${fieldValue(bean:personInstance, field:'password')}</td> 57 58 </tr> 59 60 <tr class="prop"> 47 61 <td valign="top" class="name">Employee ID:</td> 48 62 … … 54 68 <td valign="top" class="name">Entries:</td> 55 69 56 <td valign="top" class="value">${fieldValue(bean:personInstance, field:'entries')}</td> 70 <td valign="top" style="text-align:left;" class="value"> 71 <ul> 72 <g:each var="e" in="${personInstance.entries}"> 73 <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> 74 </g:each> 75 </ul> 76 </td> 57 77 58 78 </tr>
Note: See TracChangeset
for help on using the changeset viewer.