index.scala.html 506 B

1234567891011121314151617181920
  1. @*
  2. * This template takes a single argument, a String containing a
  3. * message to display.
  4. *@
  5. @(message: String)
  6. @*
  7. * Call the `main` template with two arguments. The first
  8. * argument is a `String` with the title of the page, the second
  9. * argument is an `Html` object containing the body of the page.
  10. *@
  11. @main("Welcome to Play") {
  12. @*
  13. * Get an `Html` object by calling the built-in Play welcome
  14. * template and passing a `String` message.
  15. *@
  16. @welcome(message, style = "java")
  17. }