Packages

p

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

Type Members

  1. trait FieldConstructor extends AnyRef
  2. case class FieldElements(id: String, field: Field, input: Html, args: Map[Symbol, Any], p: MessagesProvider) extends Product with Serializable
  3. trait RepeatHelper extends AnyRef

Value Members

  1. val defaultField: (FieldElements) => play.twirl.api.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>
  2. def urlEncode(string: String)(implicit codec: Codec): String

    returns

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

  3. object CSPNonce

    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

  4. object CSRF

    CSRF helper for Play calls

  5. object FieldConstructor
  6. object Implicits
  7. 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]
  8. object defaultFieldConstructor extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[FieldElements, play.twirl.api.HtmlFormat.Appendable]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. object jsloader extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[RequestHeader, play.twirl.api.HtmlFormat.Appendable]
  19. object options
  20. object repeat extends RepeatHelper
  21. object repeatWithIndex extends RepeatHelper
  22. 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]
  23. 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]
  24. 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]
  25. 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]
  26. 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]

Inherited from AnyRef

Inherited from Any

Ungrouped