views.html

helper

package helper

Contains template helpers, for example for generating HTML forms.

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. helper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait FieldConstructor extends NotNull

  2. case class FieldElements(id: String, field: Field, input: Html, args: Map[Symbol, Any], lang: Lang) extends Product with Serializable

Value Members

  1. object CSRF

    CSRF helper for Play calls

  2. object FieldConstructor

  3. object checkbox extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML input checkbox.

  4. val defaultField: (FieldElements) ⇒ play.api.templates.HtmlFormat.Appendable

    Default input structure.

    Default input structure.

    <dl>
      <dt><label for="username"></dt>
      <dd><input type="text" name="username" id="username"></dd>
      <dd class="error">This field is required!</dd>
      <dd class="info">Required field.</dd>
    </dl>
  5. object defaultFieldConstructor extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template1[FieldElements, play.api.templates.HtmlFormat.Appendable]

    Default field constructor.

  6. object form extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template3[Call, Array[(Symbol, String)], Html, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML form.

  7. object input extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template5[Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) ⇒ Html, FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Prepare a generic HTML input.

  8. object inputDate extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML5 input date.

  9. object inputFile extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML input file.

  10. object inputPassword extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML input password.

  11. object inputRadioGroup extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML radio group

  12. object inputText extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML input text.

  13. object javascriptRouter extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template3[String, Array[JavascriptReverseRoute], RequestHeader, play.api.templates.HtmlFormat.Appendable]

    Generates a Javascript object that lets you refer to your application's routes in Javascript code

  14. object jsloader extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template0[play.api.templates.HtmlFormat.Appendable]

    Javascript CommonJS module loader

  15. object options

  16. object repeat

  17. object requireJs extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[String, String, String, String, play.api.templates.HtmlFormat.Appendable]

    RequireJS Javascript module loader.

  18. object select extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML select.

  19. object textarea extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable, Format[play.api.templates.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, play.api.templates.HtmlFormat.Appendable]

    Generate an HTML textarea.

  20. package twitterBootstrap

    Contains template helpers, for example for generating HTML forms.

  21. def urlEncode(string: String)(implicit codec: Codec): String

    returns

    The url-encoded value of string using the charset provided by codec

Inherited from AnyRef

Inherited from Any

Ungrouped