inputText

views.html.helper.inputText

Attributes

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

Members list

Value members

Concrete methods

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

Generate an HTML input text.

Generate an HTML input text.

Example:

@inputText(field = myForm("name"), args = Symbol("size") -> 10, Symbol("placeholder") -> "Your name")

Value parameters

args

Set of extra attributes.

field

The form field.

handler

The field constructor.

Attributes

def f: (Field, Array[(Symbol, Any)]) => (FieldConstructor, MessagesProvider) => Appendable
def ref: inputText.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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product