title: Add parameter to securesocial custom view (playframework)
body: <p>I am using playframework with securesocial and I am also using securesocial <a href="http://securesocial.ws/guide/views-customization.html" rel="nofollow">custom views</a>.</p>
  
  <p>Right now, I need to pass an additional parameter to my login custom view, which determine whenever some content should be hidden or not.</p>
  
  <pre><code>  override def getLoginPage[A](implicit request: Request[A], form: Form[(String, String), additionalParam: Boolean],
                                 msg: Option[String] = None): Html =
    {
      dentfliks.views.html.login(form, msg, additionalParam)
    }
  </code></pre>
  
  <p>Is there any way do it without change securesocial implementation?</p>
  
  <p>My custom view </p>
  
  <pre><code>@(loginForm: play.api.data.Form[(String,String)], errorMsg: Option[String] = None, additionalParam: Boolean)(implicit request: play.api.mvc.RequestHeader, lang: Lang)
  
  &lt;html&gt;
  (...)
  &lt;/html&gt;
  </code></pre>
  
  <p>Using the source bellow I get the following error...</p>
  
  <pre><code>class CustomSecureSocialViews needs to be abstract, since method getLoginPage in trait TemplatesPlugin of type [A](implicit request: play.api.mvc.Request[A], implicit form: play.api.data.Form[(String, String)], implicit msg: Option[String])play.api.templates.Html is not defined
  </code></pre>
  
  <p>Note that I am using play 2.2.2.</p>