@(contact: Contact) @main(Html("Contact created!"), nav = "contact") {

@contact.firstname @contact.lastname

Company

@if(contact.company == null || contact.company == "") { Not specified } else { @contact.company }

@contact.informations.map { information =>

@information.label:

Email

@if(information.email == null || information.email == "") { Not specified } else { @information.email }

@if(information.phones!= null && information.phones.size > 0) {
Phones
} } }