- Timestamp:
- Feb 9, 2010, 1:30:08 AM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/AssetSubItem.groovy
r276 r330 5 5 String name 6 6 String description = "" 7 String comment = "" 7 8 boolean isActive = true 8 9 … … 16 17 static constraints = { 17 18 name(maxSize:50, blank:false) 18 description(maxSize:100) 19 description(maxSize:75) 20 comment(maxSize:500) 19 21 isActive() 20 22 parentItem(nullable:true) -
trunk/grails-app/views/assetSubItemDetailed/create.gsp
r285 r330 52 52 </td> 53 53 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'name','errors')}"> 54 <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:assetSubItemInstance,field:'name')}"/>54 <input type="text" class="description" maxlength="50" id="name" name="name" value="${fieldValue(bean:assetSubItemInstance,field:'name')}"/> 55 55 </td> 56 56 </tr> … … 61 61 </td> 62 62 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'description','errors')}"> 63 <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:assetSubItemInstance,field:'description')}"/>63 <input type="text" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:assetSubItemInstance,field:'description')}"/> 64 64 </td> 65 65 </tr> 66 67 <tr class="prop"> 68 <td valign="top" class="name"> 69 <label for="comment">Comment:</label> 70 </td> 71 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'comment','errors')}"> 72 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:assetSubItemInstance, field:'comment')}</textarea> 73 </td> 74 </tr> 66 75 67 76 </tbody> -
trunk/grails-app/views/assetSubItemDetailed/edit.gsp
r285 r330 30 30 </td> 31 31 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'name','errors')}"> 32 <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:assetSubItemInstance,field:'name')}"/>32 <input type="text" class="description" maxlength="50" id="name" name="name" value="${fieldValue(bean:assetSubItemInstance,field:'name')}"/> 33 33 </td> 34 34 </tr> … … 39 39 </td> 40 40 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'description','errors')}"> 41 <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:assetSubItemInstance,field:'description')}"/> 41 <input type="text" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:assetSubItemInstance,field:'description')}"/> 42 </td> 43 </tr> 44 45 <tr class="prop"> 46 <td valign="top" class="name"> 47 <label for="comment">Comment:</label> 48 </td> 49 <td valign="top" class="value ${hasErrors(bean:assetSubItemInstance,field:'comment','errors')}"> 50 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:assetSubItemInstance, field:'comment')}</textarea> 42 51 </td> 43 52 </tr> -
trunk/grails-app/views/assetSubItemDetailed/show.gsp
r285 r330 36 36 37 37 <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'description')}</td> 38 39 </tr> 40 41 <tr class="prop"> 42 <td valign="top" class="name">Comment:</td> 43 44 <td valign="top" class="value">${fieldValue(bean:assetSubItemInstance, field:'comment')}</td> 38 45 39 46 </tr>
Note: See TracChangeset
for help on using the changeset viewer.