Contact help
authorTomas Zeman <tzeman@volny.cz>
Thu, 12 Apr 2012 13:37:04 +0200
changeset 52 f40c67ede33d
parent 51 523c5c5b84e5
child 53 a014c89210de
Contact help
src/main/scala/fis/crm/model/Contact.scala
--- a/src/main/scala/fis/crm/model/Contact.scala	Thu Apr 12 13:36:45 2012 +0200
+++ b/src/main/scala/fis/crm/model/Contact.scala	Thu Apr 12 13:37:04 2012 +0200
@@ -20,7 +20,7 @@
 import net.liftweb.record.{MetaRecord, Record}
 import net.liftweb.record.field._
 import net.liftweb.squerylrecord.RecordTypeMode._
-import net.tz.lift.model.{FieldLabel => FL}
+import net.tz.lift.model.{FieldLabel => FL, FieldHelp => FH}
 import net.tz.lift.model.{OptionalFieldDisplay => OptDisp}
 import net.tz.lift.model.{OptionalEmailField => OptEmail}
 import scala.xml.Text
@@ -32,7 +32,7 @@
   val firstName = new StringField(this, 80, "") with FL
   val lastName = new StringField(this, 80, "") with FL
   val position = new OptionalStringField(this, 40) with OptDisp with FL
-  val workMail = new EmailField(this, 256) with FL
+  val workMail = new EmailField(this, 256) with FL with FH
   val privateMail = new OptEmail(this, 256) with OptDisp with FL
   val otherMail = new OptEmail(this, 256) with OptDisp with FL
   val workMobile = new StringField(this, 40) with FL