defaultFieldConstructor

views.html.helper.defaultFieldConstructor
object defaultFieldConstructor extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[FieldElements, Appendable]

Attributes

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

Members list

Value members

Concrete methods

def apply(elements: FieldElements): Appendable

Default field constructor.

Default field constructor.

It generates field as following:

<dl class="error">
 <dt><label for="name">Your name:</label></dt>
 <dd><input type="text" id="name" name="name"></dd>
 <dd class="error">This field is required</dd>
 <dd class="info">Required</dd>
</dl>

Value parameters

el

The field informations.

Attributes

def f: FieldElements => Appendable
def ref: defaultFieldConstructor.type.this.type
def render(elements: FieldElements): 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