@(account: Option[model.Account])(implicit context: app.Context) @import context._ @import view.helpers._ @html.main((if(account.isDefined) "Edit your profile" else "Create your account")){ @if(account.isDefined){

### Edit your profile

} else {

### Create your account

} @if(account.isEmpty){
User name
}
Password @if(account.nonEmpty){ (Input to change password) }
Mail Address
URL (Optional)
@if(account.isDefined){ Cancel } else { }
}