object inputText 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
- inputText.template.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- inputText
- Template4
- BaseScalaTemplate
- Serializable
- 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 text.
Generate an HTML input text.
Example:
@inputText(field = myForm("name"), args = 'size -> 10, 'placeholder -> "Your name")
- field
The form field.
- args
Set of extra attributes.
- handler
The field constructor.
- 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 ref: inputText.this.type
- def render(field: Field, args: Array[(Symbol, Any)], handler: FieldConstructor, messages: MessagesProvider): play.twirl.api.HtmlFormat.Appendable