1 @(relationForm: Form[beans.PartsListBean], error:String)(implicit lang: Lang)
3 @implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.f) }
4 @main("Create relation by Play 2.1") {
5 <h1>@Messages("title2")</h1>
7 @form(routes.PartsListController.relationRegistration()) {
9 @inputText(relationForm("parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly")
10 @inputText(relationForm("child"), '_label -> Messages("list.header2"))
12 @inputText(relationForm("quantity"), '_label -> Messages("list.header3"))
15 <input type="submit" class="btn primary" value=@Messages("list.link3") >
18 <a href="/single_partslist?page=0&key=">@Messages("list.link2")</a>
20 <a href="/list?page=0&key=">@Messages("list.link5")</a>