checkbox

views.html.helper.checkbox
object checkbox extends BaseScalaTemplate[Appendable, Format[Appendable]], Template4[Field, Array[(Symbol, Any)], FieldConstructor, MessagesProvider, Appendable]

Attributes

Graph
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

Members list

Value members

Concrete methods

def apply(field: Field, args: (Symbol, Any)*)(implicit handler: FieldConstructor, messages: MessagesProvider): Appendable

Generate an HTML input checkbox.

Generate an HTML input checkbox.

Example:

@checkbox(field = myForm("done"))

Value parameters

args

Set of extra HTML attributes ('''id''' and '''label''' are 2 special arguments).

field

The form field.

handler

The field constructor.

messages

the provider of messages

Attributes

def f: (Field, Array[(Symbol, Any)]) => (FieldConstructor, MessagesProvider) => Appendable
def ref: checkbox.type.this.type
def render(field: Field, args: Array[(Symbol, Any)], handler: FieldConstructor, messages: MessagesProvider): Appendable

Inherited methods

def _display_(o: Any)(implicit m: ClassTag[Appendable]): T

Attributes

Inherited from:
BaseScalaTemplate
def _display_(x: Appendable): T

Attributes

Inherited from:
BaseScalaTemplate
def _display_(x: NodeSeq): T

Attributes

Inherited from:
BaseScalaTemplate
def _display_(x: Unit): T

Attributes

Inherited from:
BaseScalaTemplate
def _display_(x: String): T

Attributes

Inherited from:
BaseScalaTemplate
def _display_(x: AnyVal): T

Attributes

Inherited from:
BaseScalaTemplate

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product