views.html

helper

package helper

Contains template helpers, for example for generating HTML forms.

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

Value Members

  1. object FieldConstructor extends AnyRef

  2. object checkbox extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML input checkbox.

  3. val defaultField : (FieldElements) ⇒ Html

    Default inpout structure.

    Default inpout 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>
    
    Definition Classes
    package
  4. object defaultFieldConstructor extends BaseScalaTemplate[Html, Format[Html]] with Template1[FieldElements, Html]

    Default field constructor.

  5. object form extends BaseScalaTemplate[Html, Format[Html]] with Template3[Call, Array[(Symbol, String)], Html, Html]

    Generate an HTML form.

  6. object input extends BaseScalaTemplate[Html, Format[Html]] with Template5[Field, Array[(Symbol, Any)], (String, String, Option[String], Map[Symbol, Any]) ⇒ Html, FieldConstructor, Lang, Html]

    Prepare a generic HTML input.

  7. object inputDate extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML5 input date.

  8. object inputFile extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML input file.

  9. object inputPassword extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML input password.

  10. object inputRadioGroup extends BaseScalaTemplate[Html, Format[Html]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML radio group

  11. object inputText extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML input text.

  12. object javascriptRouter extends BaseScalaTemplate[Html, Format[Html]] with Template3[String, Array[JavascriptReverseRoute], RequestHeader, Html]

    Generate a Javascript router.

  13. object jsloader extends BaseScalaTemplate[Html, Format[Html]] with Template0[Html]

    Javascript CommonJS module loader

  14. object options extends AnyRef

  15. object repeat extends AnyRef

  16. object select extends BaseScalaTemplate[Html, Format[Html]] with Template5[Field, Seq[(String, String)], Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML select.

  17. object textarea extends BaseScalaTemplate[Html, Format[Html]] with Template4[Field, Array[(Symbol, Any)], FieldConstructor, Lang, Html]

    Generate an HTML textarea.

  18. package twitterBootstrap

    Contains template helpers, for example for generating HTML forms.