Skip to content

Getting warnings for twitterbootstrap #1

@nasirhussain

Description

@nasirhussain

Here is the trace, file details.scala.html, what is the proper way in play 2.3.8 ?

[info] Compiling 2 Java sources to I:\playframework\warehouse\target\scala-2.11
classes...
[info] Compiling 2 Scala sources and 1 Java source to I:\playframework\warehouse
\target\scala-2.11\classes...
[warn] I:\playframework\warehouse\app\views\products\details.scala.html:12: valu
e twitterBootstrapField in package twitterBootstrap is deprecated: The twitter b
ootstrap field constructor will be removed from Play in 2.4 since the way Bootst
rap must be used changes too frequently and too drastically between versions for
this to make sense to be in the core of Play
[warn] @helper.inputText(productForm("ean"), '_label -> "EAN" )

[warn] ^
[warn] I:\playframework\warehouse\app\views\products\details.scala.html:13: valu
e twitterBootstrapField in package twitterBootstrap is deprecated: The twitter b
ootstrap field constructor will be removed from Play in 2.4 since the way Bootst
rap must be used changes too frequently and too drastically between versions for
this to make sense to be in the core of Play
[warn] @helper.inputText(productForm("name"), '_label -> "Name"
)
[warn] ^
[warn] I:\playframework\warehouse\app\views\products\details.scala.html:14: valu
e twitterBootstrapField in package twitterBootstrap is deprecated: The twitter b
ootstrap field constructor will be removed from Play in 2.4 since the way Bootst
rap must be used changes too frequently and too drastically between versions for
this to make sense to be in the core of Play
[warn] @helper.textarea(productForm("description"), '_label ->
"Description")
[warn] ^
[warn] three warnings found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions