All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.example.html.Template.template.scala Maven / Gradle / Ivy


package com.example.html

import play.twirl.api._
import play.twirl.api.TemplateMagic._


     object Template_Scope0 {
import java.lang._
import java.util._
import scala.collection.JavaConversions._
import scala.collection.JavaConverters._

class Template extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable,Format[play.twirl.api.HtmlFormat.Appendable]](play.twirl.api.HtmlFormat) with play.twirl.api.Template2[String,Html,play.twirl.api.HtmlFormat.Appendable] {

  /**/
  def apply/*1.2*/(title: String)(content: Html):play.twirl.api.HtmlFormat.Appendable = {
    _display_ {
      {


Seq[Any](format.raw/*1.32*/("""
"""),format.raw/*2.1*/("""

  
    """),_display_(/*5.13*/title),format.raw/*5.18*/(""" """),format.raw/*5.19*/("""- Example
  
  
"""),_display_(/*8.2*/content),format.raw/*8.9*/("""
  """),format.raw/*9.3*/("""

"""))
      }
    }
  }

  def render(title:String,content:Html): play.twirl.api.HtmlFormat.Appendable = apply(title)(content)

  def f:((String) => (Html) => play.twirl.api.HtmlFormat.Appendable) = (title) => (content) => apply(title)(content)

  def ref: this.type = this

}


}

/**/
object Template extends Template_Scope0.Template
              /*
                  -- GENERATED --
                  DATE: Mon May 02 23:48:43 EDT 2016
                  SOURCE: /Users/jw/dev/JakeWharton/twirl-maven-plugin/target/checkout/sample/templates/src/main/twirl/com/example/Template.scala.html
                  HASH: 672a55e5f273507968a209dd1f57c7ea60710372
                  MATRIX: 502->1|627->31|654->32|724->76|749->81|777->82|840->120|866->127|895->130
                  LINES: 17->1|22->1|23->2|26->5|26->5|26->5|29->8|29->8|30->9
                  -- GENERATED --
              */
          




© 2015 - 2025 Weber Informatics LLC | Privacy Policy