blob: 7de3dad25eb82ad89657d1c410bc4bf476246fc1 [file] [log] [blame]
package views.html.climate
import play.templates._
import play.templates.TemplateMagic._
import play.api.templates._
import play.api.templates.PlayMagic._
import models._
import controllers._
import java.lang._
import java.util._
import scala.collection.JavaConversions._
import scala.collection.JavaConverters._
import play.api.i18n._
import play.core.j.PlayMagicForJava._
import play.mvc._
import play.data._
import play.api.data.Field
import play.mvc.Http.Context.Implicit._
import views.html._
/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more *
* contributor license agreements. See the NOTICE file distributed with *
* this work for additional information regarding copyright ownership. *
* The ASF licenses this file to You under the Apache License, Version 2.0 *
* (the "License"); you may not use this file except in compliance with *
* the License. You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
*******************************************************************************/
object bugReporting extends BaseScalaTemplate[play.api.templates.HtmlFormat.Appendable,Format[play.api.templates.HtmlFormat.Appendable]](play.api.templates.HtmlFormat) with play.api.templates.Template1[play.data.Form[BugReport],play.api.templates.HtmlFormat.Appendable] {
/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more *
* contributor license agreements. See the NOTICE file distributed with *
* this work for additional information regarding copyright ownership. *
* The ASF licenses this file to You under the Apache License, Version 2.0 *
* (the "License"); you may not use this file except in compliance with *
* the License. You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
*******************************************************************************/
def apply/*18.2*/(bugReportForm: play.data.Form[BugReport]):play.api.templates.HtmlFormat.Appendable = {
_display_ {import helper._
import helper.twitterBootstrap._
Seq[Any](format.raw/*18.44*/("""
"""),format.raw/*22.1*/("""
"""),_display_(Seq[Any](/*23.2*/main("Bug Report")/*23.20*/ {_display_(Seq[Any](format.raw/*23.22*/("""
"""),_display_(Seq[Any](/*25.6*/flash_message())),format.raw/*25.21*/("""
"""),_display_(Seq[Any](/*27.6*/helper/*27.12*/.form(action = routes.BugReportController.newReport)/*27.64*/ {_display_(Seq[Any](format.raw/*27.66*/("""
<fieldset>
<legend>Bug Report</legend>
"""),_display_(Seq[Any](/*32.14*/inputText(
bugReportForm("name"),
'_label -> "Your name",
'_error -> bugReportForm.globalError
))),format.raw/*36.14*/("""
"""),_display_(Seq[Any](/*37.14*/inputText(
bugReportForm("title"),
'_label -> "Bug Title",
'_error -> bugReportForm.globalError
))),format.raw/*41.14*/("""
"""),_display_(Seq[Any](/*42.14*/inputText(
bugReportForm("email"),
'_label -> "Email",
'_helper -> "You must be a registered user to report a bug",
'_error -> bugReportForm.globalError
))),format.raw/*47.14*/("""
"""),_display_(Seq[Any](/*48.14*/inputText(
bugReportForm("organization"),
'_label -> "Organization",
'_error -> bugReportForm.globalError
))),format.raw/*52.14*/("""
"""),_display_(Seq[Any](/*53.14*/textarea(
bugReportForm("description"),
'_label -> "Description", 'cols -> 65, 'rows -> 7
))),format.raw/*56.14*/("""
</fieldset>
<div class="actions">
<input type="submit" class="btn primary" value="Submit">
<a href=""""),_display_(Seq[Any](/*63.23*/routes/*63.29*/.ClimateServiceController.home())),format.raw/*63.61*/("""" class="btn">Cancel</a>
</div>
""")))})),format.raw/*66.6*/("""
""")))})),format.raw/*68.2*/("""
"""))}
}
def render(bugReportForm:play.data.Form[BugReport]): play.api.templates.HtmlFormat.Appendable = apply(bugReportForm)
def f:((play.data.Form[BugReport]) => play.api.templates.HtmlFormat.Appendable) = (bugReportForm) => apply(bugReportForm)
def ref: this.type = this
}
/*
-- GENERATED --
DATE: Fri Sep 04 16:33:45 PDT 2015
SOURCE: /Users/mingqi/git/ApacheCMDA-Frontend/app/views/climate/bugReporting.scala.html
HASH: 9d26e88d02eb884391bdb1522ece764072274337
MATRIX: 3203->1205|3390->1247|3419->1300|3456->1302|3483->1320|3523->1322|3569->1333|3606->1348|3656->1363|3671->1369|3732->1421|3772->1423|3903->1518|4131->1724|4181->1738|4410->1945|4460->1959|4762->2239|4812->2253|5051->2470|5101->2484|5306->2667|5512->2837|5527->2843|5581->2875|5666->2929|5704->2936
LINES: 56->18|62->18|64->22|65->23|65->23|65->23|67->25|67->25|69->27|69->27|69->27|69->27|74->32|78->36|79->37|83->41|84->42|89->47|90->48|94->52|95->53|98->56|105->63|105->63|105->63|108->66|110->68
-- GENERATED --
*/