@args Contact contact @extends(main) @set(title: "Form") @authenticityToken() @{ boolean nullContact = null == contact; Date date = null; if (!nullContact) date = contact.birthdate; String birthdate = (null == date) ? "" : play.templates.JavaExtensions.format(date, "yyyy-MM-dd"); }@

Name: @error("contact.name")

First name: @error("contact.firstname")

Birth date: @error("contact.birthdate")

Email: @error("contact.email")

Cancel or