Scalatags using play-bootstrap

229 Views Asked by At

I'm replacing my twirl templates with ScalaTags code, and I ran into a problem. I'm using the Play-Bootstrap library to easily write forms, however the import doesn't work outside of Twirl templates.

import b3.inline.fieldConstructor

I get the error:

not found: object b3

Any suggestions / solutions on how to keep using Play-Bootstrap?

1

There are 1 best solutions below

3
On BEST ANSWER

Found the answer myself, thanks to this question.

import views.html.b3.inline.fieldConstructor