form

views.html.helper.form
object form extends BaseScalaTemplate[Appendable, Format[Appendable]]

Attributes

Graph
Supertypes
class BaseScalaTemplate[Appendable, Format[Appendable]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
form.type

Members list

Value members

Concrete methods

def apply(action: Call, args: (Symbol, String)*)(body: => Html): Appendable

Generate an HTML form.

Generate an HTML form.

Example:

@form(action = routes.Users.submit, args = Symbol("class") -> "myForm") {
 ...
}

Value parameters

action

The submit action.

args

Set of extra HTML attributes.

body

The form body.

Attributes

def f: (Call, Array[(Symbol, String)]) => (=> Html) => Appendable
def ref: this.type
def render(action: Call, args: Array[(Symbol, String)], body: Html): Appendable

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
BaseScalaTemplate

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product