title: Scala/Play Framework: Passing a view to a view
body: <p>I have this line of code:</p>
  
  <pre><code>Ok(views.html.main("Title",views.html.userShow(user)))
  </code></pre>
  
  <p>According to the debugger <em>views.html.userShow(user)</em> returns a Html object.</p>
  
  <p><em>main2</em> starts with</p>
  
  <pre><code>@(title: String)(content: play.twirl.api.Html)
  </code></pre>
  
  <p>Now I get the error message: </p>
  
  <blockquote>
    <p>too many arguments for method apply: (title: String)(content:
    play.twirl.api.Html)play.twirl.api.HtmlFormat.Appendable in object
    main2</p>
  </blockquote>
  
  <p>What is wrong with this code?</p>