Ignore:
Timestamp:
Feb 9, 2010, 1:36:22 AM (15 years ago)
Author:
gav
Message:

Add comment attribute to Section and limit description to 75 char.
Update detailed views to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/Section.groovy

    r268 r331  
    66    String name
    77    String description = ""
     8    String comment = ""
    89    boolean isActive = true
    910
     
    1617    static constraints = {
    1718        name(maxSize:50, unique:true, blank:false)
    18         description(maxSize:100)
     19        description(maxSize:75)
     20        comment(maxSize:500)
    1921        isActive()
    2022    }
Note: See TracChangeset for help on using the changeset viewer.