diff options
Diffstat (limited to 'contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views')
-rw-r--r-- | contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html | 8 | ||||
-rw-r--r-- | contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html new file mode 100644 index 00000000..16053d72 --- /dev/null +++ b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/hello.scala.html @@ -0,0 +1,8 @@ +@this(title: String) +@wrapper { + <html> + <body> + <h1>@title</h1> + </body> + </html> +}
\ No newline at end of file diff --git a/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html new file mode 100644 index 00000000..af1f5d8e --- /dev/null +++ b/contrib/twirllib/test/resources/hello-world-inclusive-dot/core/views/wrapper.scala.html @@ -0,0 +1,5 @@ +@(content: Html) + +@defining("test") { className => + <div class="@className">@content</div> +}
\ No newline at end of file |