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. Protected

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: () => 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 [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  8. object defaultFieldConstructor extends [, []] with [, play.twirl.api.HtmlFormat.Appendable]
  9. object form extends [, []] with [Call, Array[(Symbol, String)], , play.twirl.api.HtmlFormat.Appendable]
  10. object input extends [, []] with [Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) => , , , play.twirl.api.HtmlFormat.Appendable]
  11. object inputCheckboxGroup extends [, []] with [Field, Seq[(String, String)], Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  12. object inputDate extends [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  13. object inputFile extends [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  14. object inputPassword extends [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  15. object inputRadioGroup extends [, []] with [Field, Seq[(String, String)], Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  16. object inputText extends [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  17. object javascriptRouter extends [, []] with Template3[String, Array[], , play.twirl.api.HtmlFormat.Appendable]
  18. object jsloader extends [, []] with [, play.twirl.api.HtmlFormat.Appendable]
  19. object options
  20. object repeat extends RepeatHelper
  21. object repeatWithIndex extends RepeatHelper
  22. object requireJs extends [, []] with Template5[String, String, Boolean, String, String, play.twirl.api.HtmlFormat.Appendable]
  23. object script extends [, []] with Template3[Array[(Symbol, String)], , , play.twirl.api.HtmlFormat.Appendable]
  24. object select extends [, []] with [Field, Seq[(String, String)], Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]
  25. object style extends [, []] with Template3[Array[(Symbol, String)], , , play.twirl.api.HtmlFormat.Appendable]
  26. object textarea extends [, []] with [Field, Array[(Symbol, Any)], , , play.twirl.api.HtmlFormat.Appendable]