@(contact:Option[models.Contact] = None)(implicit errors:Map[String,play.data.validation.Error]) @main(title = contact.map("Contact " + _.id).getOrElse("New contact"), current = "form") { @form(controllers.Application.save(contact.flatMap(_.id.get))) {

@errors.get("contact.name")

@errors.get("contact.firstname")

@errors.get("contact.birthdate")

@errors.get("contact.email")

Cancel or

} }