You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your HTML template should have an implicit `Request` parameter to your template, if it doesn't have one already:
136
+
137
+
```
138
+
@(...)(implicit request: Request[_])
139
+
```
140
+
133
141
## Import statements
134
142
135
143
You can import whatever you want at the beginning of your template (or sub-template):
@@ -168,4 +176,4 @@ For example to output raw HTML:
168
176
169
177
The template engine can be used as a [string interpolator](http://docs.scala-lang.org/overviews/core/string-interpolation.html). You basically trade the “@” for a “$”:
0 commit comments