object checkbox extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, play.twirl.api.HtmlFormat.Appendable]
- Source
- checkbox.template.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- checkbox
- Template4
- BaseScalaTemplate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def _display_(o: Any)(implicit m: ClassTag[play.twirl.api.HtmlFormat.Appendable]): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: play.twirl.api.HtmlFormat.Appendable): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: NodeSeq): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: Unit): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: String): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: AnyVal): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def apply(field: Field, args: (Symbol, Any)*)(implicit handler: FieldConstructor, messages: MessagesProvider): play.twirl.api.HtmlFormat.Appendable
Generate an HTML input checkbox.
Generate an HTML input checkbox.
Example:
@checkbox(field = myForm("done"))
- field
The form field.
- args
Set of extra HTML attributes (id and label are 2 special arguments).
- handler
The field constructor.
- messages
the provider of messages
- def f: (Field, Array[(Symbol, Any)]) => (FieldConstructor, MessagesProvider) => play.twirl.api.HtmlFormat.Appendable
- val format: Format[play.twirl.api.HtmlFormat.Appendable]
- Definition Classes
- BaseScalaTemplate
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def ref: checkbox.this.type
- def render(field: Field, args: Array[(Symbol, Any)], handler: FieldConstructor, messages: MessagesProvider): play.twirl.api.HtmlFormat.Appendable