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 Object
trait Matchable
class Any
Self type
CSPNonce.type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class FieldElements(id: String, field: Field, input: Html, args: Map[Symbol, Any], p: MessagesProvider)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Implicits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Implicits.type
trait RepeatHelper

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object repeat
object checkbox extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
checkbox.type
object defaultFieldConstructor extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[FieldElements, Appendable]

Attributes

Supertypes
trait Template1[FieldElements, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object form extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Call, Array[(Symbol, String)], Html, Appendable]

Attributes

Supertypes
trait Template3[Call, Array[(Symbol, String)], Html, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
form.type
object input extends BaseScalaTemplate[Appendable, Format[Appendable]], Template5[Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) => Html, FieldConstructor, MessagesProvider, Appendable]

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object inputDate extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
inputDate.type
object inputFile extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
inputFile.type
object inputPassword extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object inputText extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
inputText.type
object javascriptRouter extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[String, Array[JavaScriptReverseRoute], RequestHeader, Appendable]

Attributes

Supertypes
trait Template3[String, Array[JavaScriptReverseRoute], RequestHeader, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
object jsloader extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[RequestHeader, Appendable]

Attributes

Supertypes
trait Template1[RequestHeader, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
jsloader.type
object options

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
options.type
object repeat extends RepeatHelper

Attributes

Supertypes
trait RepeatHelper
class Object
trait Matchable
class Any
Self type
repeat.type
object repeatWithIndex extends RepeatHelper

Attributes

Supertypes
trait RepeatHelper
class Object
trait Matchable
class Any
Self type
object requireJs extends BaseScalaTemplate[Appendable, Format[Appendable]], Template5[String, String, Boolean, String, String, Appendable]

Attributes

Supertypes
trait Template5[String, String, Boolean, String, String, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
requireJs.type
object script extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]

Attributes

Supertypes
trait Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
script.type
object select 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
select.type
object style extends BaseScalaTemplate[Appendable, Format[Appendable]], Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]

Attributes

Supertypes
trait Template3[Array[(Symbol, String)], Html, RequestHeader, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
style.type
object textarea extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Supertypes
trait Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
textarea.type

Value members

Concrete methods

def urlEncode(string: String)(implicit codec: Codec): String

Attributes

Returns

The url-encoded value of string using the charset provided by codec

Concrete fields

val defaultField: FieldElements => Appendable

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