diff options
author | Iurii Malchenko <yurique@pm.me> | 2018-11-02 09:30:52 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2018-11-02 08:30:52 +0100 |
commit | ff45d24103684342a47ec2ed42565356a116f18d (patch) | |
tree | 0d882ce0f5aa7ca362690e032b29b34127404333 /contrib/twirllib/test/resources | |
parent | 8afe79afe33be68f59f89b8410984e508c3e8d08 (diff) | |
download | mill-ff45d24103684342a47ec2ed42565356a116f18d.tar.gz mill-ff45d24103684342a47ec2ed42565356a116f18d.tar.bz2 mill-ff45d24103684342a47ec2ed42565356a116f18d.zip |
improving twirl (#473)
* improving twirl support: default imports, better `compileTwirl().classes` value
* twirl module doc edits
Diffstat (limited to 'contrib/twirllib/test/resources')
-rw-r--r-- | contrib/twirllib/test/resources/hello-world/core/views/wrapper.scala.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/twirllib/test/resources/hello-world/core/views/wrapper.scala.html b/contrib/twirllib/test/resources/hello-world/core/views/wrapper.scala.html new file mode 100644 index 00000000..af1f5d8e --- /dev/null +++ b/contrib/twirllib/test/resources/hello-world/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 |