@(designChangeForm: Form[forms.DesignChangeForm], id: Long, delRelations: org.squeryl.Query[PartRelation], addRelations: org.squeryl.Query[PartRelation])(implicit lang: Lang)
@import helper._
@implicitFieldConstructor = @{ FieldConstructor(twitterBootstrapInput.f) }
@main("update User by Play 2.1") {
	<h1>@Messages("title22")</h1>
	@form(routes.DesignChangeController.designChangeCoverModification(id: Long)) {
		@commonDesignChangeForm(designChangeForm)
	}
	<hr />
	@Messages("form.header10")
	<table>
		<thead>
			<tr>
				<th>@Messages("list.header1")</th>
				<th>@Messages("list.header2")</th>
			</tr>
		</thead>
		<tbody>
			@for(delRelation <- delRelations) {
				<tr><td>@delRelation.parent.head.name</td><td>@delRelation.child.head.name</td></tr>
			}
		</tbody>
	</table>
	<hr />
	@Messages("form.header11")
	<table>
		<thead>
			<tr>
				<th>@Messages("list.header1")</th>
				<th>@Messages("list.header2")</th>
			</tr>
		</thead>
		<tbody>
			@for(addRelation <- addRelations) {
				<tr><td>@addRelation.parent.head.name</td><td>@addRelation.child.head.name</td></tr>
			}
		</tbody>
	</table>
	<br />
    <a href="/designchangelist?page=0&key=">@Messages("title21")@Messages("title15")</a>
	
}