
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.Template3[Form[beans.PartsListBean],String,Lang,play.api.templates.Html] {

    /**/
    def apply/*1.2*/(relationForm: Form[beans.PartsListBean],childName: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.81*/("""
"""),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*/form(routes.PartsListController.relationUpdate(childName))/*6.61*/ {_display_(Seq[Any](format.raw/*6.63*/("""
		<fieldset>
			"""),_display_(Seq[Any](/*8.5*/inputText(relationForm("parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly"))),format.raw/*8.100*/("""
			"""),_display_(Seq[Any](/*9.5*/inputText(relationForm("child"), '_label -> Messages("list.header2")))),format.raw/*9.74*/("""
			"""),_display_(Seq[Any](/*10.5*/inputText(relationForm("quantity"), '_label -> Messages("list.header3")))),format.raw/*10.77*/("""
		</fieldset>
		<div class="action">
			<input type="submit" class="btn primary" value="""),_display_(Seq[Any](/*13.52*/Messages("list.link4"))),format.raw/*13.74*/(""" >
		</div>
	""")))})),format.raw/*15.3*/("""
	"""),_display_(Seq[Any](/*16.3*/form(routes.PartsListController.relationDelete(relationForm("parent").value.get, relationForm("child").value.get), 'class -> "topRight")/*16.139*/ {_display_(Seq[Any](format.raw/*16.141*/("""
		<input type="submit" value="""),_display_(Seq[Any](/*17.31*/Messages("list.link15"))),format.raw/*17.54*/(""" class="btn danger">
	""")))})),format.raw/*18.3*/("""	
	<a href="/single_partslist?page=0&key=">"""),_display_(Seq[Any](/*19.43*/Messages("list.link2"))),format.raw/*19.65*/("""</a>
		
""")))})),format.raw/*21.2*/("""
"""))}
    }
    
    def render(relationForm:Form[beans.PartsListBean],childName:String,lang:Lang): play.api.templates.Html = apply(relationForm,childName)(lang)
    
    def f:((Form[beans.PartsListBean],String) => (Lang) => play.api.templates.Html) = (relationForm,childName) => (lang) => apply(relationForm,childName)(lang)
    
    def ref: this.type = this

}
                /*
                    -- GENERATED --
                    DATE: Tue Aug 27 14:06:17 JST 2013
                    SOURCE: /home/uyaji/git2/Relation/PartsList/PartsList/app/views/updateRelationForm.scala.html
                    HASH: 10f22098b159a84aa0c3f8320a2d00f7db75bb78
                    MATRIX: 549->1|713->99|745->123|824->80|852->172|889->175|932->210|971->212|1012->219|1051->237|1093->245|1159->303|1198->305|1250->323|1367->418|1406->423|1496->492|1536->497|1630->569|1755->658|1799->680|1844->694|1882->697|2028->833|2069->835|2136->866|2181->889|2235->912|2315->956|2359->978|2399->987
                    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|27->6|29->8|29->8|30->9|30->9|31->10|31->10|34->13|34->13|36->15|37->16|37->16|37->16|38->17|38->17|39->18|40->19|40->19|42->21
                    -- GENERATED --
                */
            