@(relationForm: Form[beans.PartsListBean],childName:String)(implicit lang: Lang) @import helper._ @implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.f) } @main("Update relation by Play 2.1") {

@Messages("title3")

@form(routes.PartsListController.relationUpdate(childName)) {
@inputText(relationForm("parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly") @inputText(relationForm("child"), '_label -> Messages("list.header2")) @inputText(relationForm("quantity"), '_label -> Messages("list.header3"))
} @form(routes.PartsListController.relationDelete(relationForm("parent").value.get, relationForm("child").value.get), 'class -> "topRight") { } @Messages("list.link2") }