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. 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: (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 FieldConstructor
  5. object Implicits
  6. 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]
  7. object defaultFieldConstructor extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[FieldElements, play.twirl.api.HtmlFormat.Appendable]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  17. object jsloader extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[RequestHeader, play.twirl.api.HtmlFormat.Appendable]
  18. object options
  19. object repeat extends RepeatHelper
  20. object repeatWithIndex extends RepeatHelper
  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]
  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]
  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]
  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]
  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]

Inherited from AnyRef

Inherited from Any

Ungrouped