views.html.helper
package views.html.helper
Contains template helpers, for example for generating HTML forms.
Attributes
Members list
Type members
Classlikes
object CSPNonce
A helper that renders the CSP nonce if it is present.
A helper that renders the CSP nonce if it is present.
Attributes
- See also
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CSPNonce.type
trait FieldConstructor
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object FieldConstructor
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FieldConstructor.type
case class FieldElements(id: String, field: Field, input: Html, args: Map[Symbol, Any], p: MessagesProvider)
object Implicits
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Implicits.type
trait RepeatHelper
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object repeat.typeobject repeatWithIndex.type
object checkbox extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
object defaultFieldConstructor extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[FieldElements, Appendable]
Attributes
Attributes
- Supertypes
-
trait Template5[Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) => Html, FieldConstructor, MessagesProvider, Appendable]class BaseScalaTemplate[Appendable, Format[Appendable]]trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
input.type
object inputCheckboxGroup extends BaseScalaTemplate[Appendable, Format[Appendable]], Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
- Supertypes
-
trait Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]class BaseScalaTemplate[Appendable, Format[Appendable]]trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
inputCheckboxGroup.type
object inputDate extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
object inputFile extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
object inputPassword extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
- Supertypes
- Self type
-
inputPassword.type
object inputRadioGroup extends BaseScalaTemplate[Appendable, Format[Appendable]], Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
- Supertypes
-
trait Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]class BaseScalaTemplate[Appendable, Format[Appendable]]trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
inputRadioGroup.type
object inputText extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
object javascriptRouter extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[String, Array[JavaScriptReverseRoute], RequestHeader, Appendable]
Attributes
- Supertypes
- Self type
-
javascriptRouter.type
object jsloader extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[RequestHeader, Appendable]
Attributes
object repeat extends RepeatHelper
Attributes
- Supertypes
- Self type
-
repeat.type
object repeatWithIndex extends RepeatHelper
Attributes
- Supertypes
- Self type
-
repeatWithIndex.type
object script extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]
object select extends BaseScalaTemplate[Appendable, Format[Appendable]], Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
object style extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]
object textarea extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
Attributes
Value members
Concrete fields
Default input structure.
Default input structure.
<dl>
<dt><label for="username"></dt>
<dd><input type="text" name="username" id="username"></dd>
<dd class="error">This field is required!</dd>
<dd class="info">Required field.</dd>
</dl>
Attributes
In this article