object form extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template3[Call, Array[(Symbol, String)], Html, play.twirl.api.HtmlFormat.Appendable]
- Source
- form.template.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- form
- Template3
- 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(action: Call, args: (Symbol, String)*)(body: => Html): play.twirl.api.HtmlFormat.Appendable
Generate an HTML form.
Generate an HTML form.
Example:
@form(action = routes.Users.submit, args = 'class -> "myForm") { ... }
- action
The submit action.
- args
Set of extra HTML attributes.
- body
The form body.
- def f: (Call, Array[(Symbol, String)]) => (=> Html) => 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: form.this.type
- def render(action: Call, args: Array[(Symbol, String)], body: Html): play.twirl.api.HtmlFormat.Appendable