Package

views.html

helper

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. trait FieldConstructor extends AnyRef

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

    Permalink
  3. trait RepeatHelper extends AnyRef

    Permalink

Value Members

  1. object CSPNonce

    Permalink

    A helper that renders the CSP nonce if it is present.

    A helper that renders the CSP nonce if it is present.

    See also

    play.api.mvc.request.RequestAttrKey.CSPNonce

  2. object CSRF

    Permalink

    CSRF helper for Play calls

  3. object FieldConstructor

    Permalink
  4. object Implicits

    Permalink
  5. object checkbox 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]

    Permalink
  6. val defaultField: (FieldElements) ⇒ play.twirl.api.HtmlFormat.Appendable

    Permalink

    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>
  7. object defaultFieldConstructor extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[FieldElements, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  8. 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]

    Permalink
  9. object input extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template5[Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) ⇒ Html, FieldConstructor, MessagesProvider, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  10. object inputCheckboxGroup extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  11. object inputDate 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]

    Permalink
  12. object inputFile 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]

    Permalink
  13. object inputPassword 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]

    Permalink
  14. object inputRadioGroup extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  15. 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]

    Permalink
  16. object javascriptRouter extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template3[String, Array[JavaScriptReverseRoute], RequestHeader, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  17. object jsloader extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[RequestHeader, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  18. object options

    Permalink
  19. object repeat extends RepeatHelper

    Permalink
  20. object repeatWithIndex extends RepeatHelper

    Permalink
  21. object requireJs extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template5[String, String, Boolean, String, String, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  22. object script extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template3[Array[(Symbol, String)], Html, RequestHeader, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  23. object select extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, MessagesProvider, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  24. object style extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template3[Array[(Symbol, String)], Html, RequestHeader, play.twirl.api.HtmlFormat.Appendable]

    Permalink
  25. object textarea 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]

    Permalink
  26. def urlEncode(string: String)(implicit codec: Codec): String

    Permalink

    returns

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

Inherited from AnyRef

Inherited from Any

Ungrouped