@(designChangeRelationForm: Form[forms.DesignChangeRelationForm])(implicit lang: Lang)
@import helper._
@implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.f) } 
@main("Design Change by Play 2.1") {
	<h1>@Messages("title21")</h1>
	@form(routes.PartsListController.designChange()) {
		@inputText(designChangeRelationForm("dcno"), '_label -> Messages("list.header10"))
		<hr />
		@Messages("form.header10")
		<fieldSet>
			@inputText(designChangeRelationForm("partsListBeanBefore.parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly")
			@inputText(designChangeRelationForm("partsListBeanBefore.child"), '_label -> Messages("list.header2"), 'readonly -> "readonly")
			@inputText(designChangeRelationForm("partsListBeanBefore.quantity"), '_label -> Messages("list.header3"), 'readonly -> "readonly")
		</fieldSet>
		<hr />
		@Messages("form.header11")
		<fieldSet>
			@inputText(designChangeRelationForm("partsListBeanAfter.parent"), '_label -> Messages("list.header1"), 'readonly -> "readonly")
			@inputText(designChangeRelationForm("partsListBeanAfter.child"), '_label -> Messages("list.header2"))
			@inputText(designChangeRelationForm("partsListBeanAfter.quantity"), '_label -> Messages("list.header3"))
		</fieldSet>
		<div class="action">
			<input type="submit" class="btn primary" value=@Messages("btn.label4") >
		</div>
		<br />
		<a href="/single_partslist?page=0&key=">@Messages("list.link2")</a>
   }	
}