@(acceptForm: Form[Account.Accept], aUser: com.feth.play.module.pa.user.AuthUser, bUser: com.feth.play.module.pa.user.AuthUser) @import helper._ @import helper.twitterBootstrap._ @label = { Do you want to merge the account you are currently logged in with (@aUser), with this account: '@bUser'? } @main("Merge accounts") {
@form(routes.Account.doMerge) { @if(acceptForm.hasGlobalErrors) {
@acceptForm.globalError.message
} @inputRadioGroup( acceptForm("accept"), options = Seq("true"-> "Yes, merge these two accounts","false"->"No, end my current session and log in with the new user"), '_label -> label, '_showConstraints -> false ) } }