
package views.html

import play.templates._
import play.templates.TemplateMagic._

import play.api.templates._
import play.api.templates.PlayMagic._
import models._
import controllers._
import play.api.i18n._
import play.api.mvc._
import play.api.data._
import views.html._
/**/
object updateRelationForm extends BaseScalaTemplate[play.api.templates.Html,Format[play.api.templates.Html]](play.api.templates.HtmlFormat) with play.api.templates.Template5[Form[beans.PartsListBean],String,String,String,Lang,play.api.templates.Html] {

    /**/
    def apply/*1.2*/(relationForm: Form[beans.PartsListBean],childName:String, project:String, error:String)(implicit lang: Lang):play.api.templates.Html = {
        _display_ {import helper._

implicit def /*3.2*/implicitFieldConstructor/*3.26*/ = {{ FieldConstructor(twitterBootstrapInput.f) }};
Seq[Any](format.raw/*1.111*/("""
"""),format.raw/*3.75*/(""" 
"""),_display_(Seq[Any](/*4.2*/main("Update relation by Play 2.1")/*4.37*/ {_display_(Seq[Any](format.raw/*4.39*/("""
	<h1>"""),_display_(Seq[Any](/*5.7*/Messages("title3"))),format.raw/*5.25*/("""</h1>
	"""),_display_(Seq[Any](/*6.3*/Messages(error))),format.raw/*6.18*/("""
	"""),_display_(Seq[Any](/*7.3*/form(routes.PartsListController.relationUpdate(childName, project))/*7.70*/ {_display_(Seq[Any](format.raw/*7.72*/("""
		<fieldset>
			"""),_display_(Seq[Any](/*9.5*/inputText(relationForm("parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly"))),format.raw/*9.100*/("""
			"""),_display_(Seq[Any](/*10.5*/inputText(relationForm("child"), '_label -> Messages("list.header2")))),format.raw/*10.74*/("""
			"""),_display_(Seq[Any](/*11.5*/inputText(relationForm("quantity"), '_label -> Messages("list.header3")))),format.raw/*11.77*/("""
			"""),_display_(Seq[Any](/*12.5*/inputText(relationForm("relationKey"), '_label -> Messages("list.header12")))),format.raw/*12.81*/("""
		</fieldset>
		<div class="action">
			<input type="submit" class="btn primary" value="""),_display_(Seq[Any](/*15.52*/Messages("list.link4"))),format.raw/*15.74*/(""" >
		</div>
	""")))})),format.raw/*17.3*/("""
	"""),_display_(Seq[Any](/*18.3*/form(routes.PartsListController.relationDelete(relationForm("parent").value.get, relationForm("child").value.get), 'class -> "topRight")/*18.139*/ {_display_(Seq[Any](format.raw/*18.141*/("""
		<input type="submit" value="""),_display_(Seq[Any](/*19.31*/Messages("list.link15"))),format.raw/*19.54*/(""" class="btn danger">
	""")))})),format.raw/*20.3*/("""	
	<a href="/single_partslist?page=0&key=&relationKey=">"""),_display_(Seq[Any](/*21.56*/Messages("list.link2"))),format.raw/*21.78*/("""</a>
		
""")))})),format.raw/*23.2*/("""
"""))}
    }
    
    def render(relationForm:Form[beans.PartsListBean],childName:String,project:String,error:String,lang:Lang): play.api.templates.Html = apply(relationForm,childName,project,error)(lang)
    
    def f:((Form[beans.PartsListBean],String,String,String) => (Lang) => play.api.templates.Html) = (relationForm,childName,project,error) => (lang) => apply(relationForm,childName,project,error)(lang)
    
    def ref: this.type = this

}
                /*
                    -- GENERATED --
                    DATE: Thu Oct 31 10:25:26 JST 2013
                    SOURCE: /home/uyaji/git2/Relation/PartsList/PartsList/app/views/updateRelationForm.scala.html
                    HASH: 0af51d4a1b57cf00a32c4f932dd95b18e95b1618
                    MATRIX: 563->1|757->129|789->153|869->110|897->202|934->205|977->240|1016->242|1057->249|1096->267|1138->275|1174->290|1211->293|1286->360|1325->362|1377->380|1494->475|1534->480|1625->549|1665->554|1759->626|1799->631|1897->707|2022->796|2066->818|2111->832|2149->835|2295->971|2336->973|2403->1004|2448->1027|2502->1050|2595->1107|2639->1129|2679->1138
                    LINES: 19->1|22->3|22->3|23->1|24->3|25->4|25->4|25->4|26->5|26->5|27->6|27->6|28->7|28->7|28->7|30->9|30->9|31->10|31->10|32->11|32->11|33->12|33->12|36->15|36->15|38->17|39->18|39->18|39->18|40->19|40->19|41->20|42->21|42->21|44->23
                    -- GENERATED --
                */
            