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], messages: Messages) extends Product with Serializable

Value Members

  1. object CSRF

    CSRF helper for Play calls

  2. object FieldConstructor

  3. object Implicits

  4. object checkbox extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

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

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

  8. 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, Messages, play.twirl.api.HtmlFormat.Appendable]

  9. 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, Messages, play.twirl.api.HtmlFormat.Appendable]

  10. object inputDate extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

  11. object inputFile extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

  12. object inputPassword extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

  13. 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, Messages, play.twirl.api.HtmlFormat.Appendable]

  14. object inputText extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

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

  16. object jsloader extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template0[play.twirl.api.HtmlFormat.Appendable]

  17. object options

  18. object repeat

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

  20. 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, Messages, play.twirl.api.HtmlFormat.Appendable]

  21. object textarea extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Messages, play.twirl.api.HtmlFormat.Appendable]

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