This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object ApplicationBuild extends Build { | |
| val appName = "society20-app" | |
| val appVersion = "1.0-SNAPSHOT" | |
| val appDependencies = Seq( | |
| "commons-codec" % "commons-codec" % "1.6") | |
| val main = PlayProject( appName, appVersion, appDependencies, mainLang = SCALA ).settings() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package utils | |
| import play.api.data.format.Formatter | |
| import play.api.data.Mapping | |
| import play.api.data.format.Formats._ | |
| import play.api.data.FormError | |
| import play.api.data.Forms._ | |
| import play.api.data.validation.Constraint | |
| import play.api.data.validation.Invalid | |
| import play.api.data.validation.Valid |