@(users: List[model.Account])(implicit context: app.Context) @import context._ @import view.helpers._ @html.main("Manage Users"){ @menu("users"){
New User

@users.map { account =>

Edit
@account.userName @if(account.isAdmin){ (Administrator) } else { (Normal) }

@account.mailAddress @account.url.map { url => @url }
Registered: @datetime(account.registeredDate) Updated: @datetime(account.updatedDate) Last Login: @account.lastLoginDate.map(datetime)

}

} }