Changeset 268 for trunk/grails-app/views/maintenancePolicy
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- Location:
- trunk/grails-app/views/maintenancePolicy
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/maintenancePolicy/create.gsp
r178 r268 28 28 <tr class="prop"> 29 29 <td valign="top" class="name"> 30 <label for="name">Name:</label> 31 </td> 32 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'name','errors')}"> 33 <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:maintenancePolicyInstance,field:'name')}"/> 34 </td> 35 </tr> 36 37 <tr class="prop"> 38 <td valign="top" class="name"> 30 39 <label for="description">Description:</label> 31 40 </td> 32 41 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'description','errors')}"> 33 <input type="text" id="description" name="description" value="${fieldValue(bean:maintenancePolicyInstance,field:'description')}"/>42 <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:maintenancePolicyInstance,field:'description')}"/> 34 43 </td> 35 44 </tr> … … 41 50 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'isActive','errors')}"> 42 51 <g:checkBox name="isActive" value="${maintenancePolicyInstance?.isActive}" ></g:checkBox> 43 </td>44 </tr>45 46 <tr class="prop">47 <td valign="top" class="name">48 <label for="name">Name:</label>49 </td>50 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'name','errors')}">51 <input type="text" id="name" name="name" value="${fieldValue(bean:maintenancePolicyInstance,field:'name')}"/>52 52 </td> 53 53 </tr> -
trunk/grails-app/views/maintenancePolicy/edit.gsp
r178 r268 31 31 <tr class="prop"> 32 32 <td valign="top" class="name"> 33 <label for="name">Name:</label> 34 </td> 35 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'name','errors')}"> 36 <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:maintenancePolicyInstance,field:'name')}"/> 37 </td> 38 </tr> 39 40 <tr class="prop"> 41 <td valign="top" class="name"> 33 42 <label for="description">Description:</label> 34 43 </td> 35 44 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'description','errors')}"> 36 <input type="text" id="description" name="description" value="${fieldValue(bean:maintenancePolicyInstance,field:'description')}"/>45 <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:maintenancePolicyInstance,field:'description')}"/> 37 46 </td> 38 47 </tr> … … 63 72 </tr> 64 73 65 <tr class="prop">66 <td valign="top" class="name">67 <label for="name">Name:</label>68 </td>69 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'name','errors')}">70 <input type="text" id="name" name="name" value="${fieldValue(bean:maintenancePolicyInstance,field:'name')}"/>71 </td>72 </tr>73 74 74 </tbody> 75 75 </table> -
trunk/grails-app/views/maintenancePolicy/list.gsp
r178 r268 23 23 <g:sortableColumn property="id" title="Id" /> 24 24 25 <g:sortableColumn property="name" title="Name" /> 26 25 27 <g:sortableColumn property="description" title="Description" /> 26 28 27 29 <g:sortableColumn property="isActive" title="Is Active" /> 28 29 <g:sortableColumn property="name" title="Name" />30 30 31 31 </tr> … … 37 37 <td><g:link action="show" id="${maintenancePolicyInstance.id}">${fieldValue(bean:maintenancePolicyInstance, field:'id')}</g:link></td> 38 38 39 <td>${fieldValue(bean:maintenancePolicyInstance, field:'name')}</td> 40 39 41 <td>${fieldValue(bean:maintenancePolicyInstance, field:'description')}</td> 40 42 41 43 <td>${fieldValue(bean:maintenancePolicyInstance, field:'isActive')}</td> 42 43 <td>${fieldValue(bean:maintenancePolicyInstance, field:'name')}</td>44 44 45 45 </tr> -
trunk/grails-app/views/maintenancePolicy/show.gsp
r178 r268 30 30 31 31 <tr class="prop"> 32 <td valign="top" class="name">Name:</td> 33 34 <td valign="top" class="value">${fieldValue(bean:maintenancePolicyInstance, field:'name')}</td> 35 36 </tr> 37 38 <tr class="prop"> 32 39 <td valign="top" class="name">Description:</td> 33 40 … … 56 63 </tr> 57 64 58 <tr class="prop">59 <td valign="top" class="name">Name:</td>60 61 <td valign="top" class="value">${fieldValue(bean:maintenancePolicyInstance, field:'name')}</td>62 63 </tr>64 65 65 </tbody> 66 66 </table>
Note: See TracChangeset
for help on using the changeset viewer.