aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/files.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-04-07 12:44:36 +0200
committerMarvin Borner2019-04-07 12:44:36 +0200
commitd60bf9b546bca3e479668de801e8821e19abbb9e (patch)
tree8a1f19bd697e7178bc4f816f5ec911d45a3d5a34 /src/main/resources/views/files.rocker.html
parent51c6451b36e8f3845ba278d42e7c4a9941556986 (diff)
Added layouts for rocker views
Diffstat (limited to 'src/main/resources/views/files.rocker.html')
-rw-r--r--src/main/resources/views/files.rocker.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html
index 45a009f..097918a 100644
--- a/src/main/resources/views/files.rocker.html
+++ b/src/main/resources/views/files.rocker.html
@@ -1,5 +1,7 @@
@import java.util.ArrayList
@args (ArrayList files)
+@layout.template(files.size() + " Files") -> {
@for (String file : files) {
<a href="@file">@file</a><br>
}
+}