@()(implicit request: RequestHeader, lang: Lang, env: securesocial.core.RuntimeEnvironment)
@import play.i18n._
@import play.api.Play.current
@import play.api.i18n.Messages.Implicits._
@securesocial.views.html.main(play.i18n.Messages.get("securesocial.notAuthorized.title")) {
    <div class="page-header">
        <h1>@Messages.get("securesocial.notAuthorized.title")</h1>
    </div>

    <div class="alert alert-error">
        @Messages.get("securesocial.notAuthorized.message")
    </div>
}
@()(implicit request: RequestHeader, lang: Lang, env: securesocial.core.RuntimeEnvironment, messages: Messages)
@import play.api.i18n.Messages
@securesocial.views.html.main(Messages("securesocial.notAuthorized.title")) {
    <div class="page-header">
        <h1>@Messages("securesocial.notAuthorized.title")</h1>
    </div>

    <div class="alert alert-error">
        @Messages("securesocial.notAuthorized.message")
    </div>
}
Fix view for i18n in Play 2.5 style
Fix view for i18n in Play 2.5 style
