@(designChangeForm: Form[forms.DesignChangeForm], id: Long, delRelations: scala.collection.mutable.ArrayBuffer[beans.DesignChangeListBean], 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("title23")
	<table>
		<thead>
			<tr>
				<th>@Messages("form.header10")@Messages("list.header1")</th>
				<th>@Messages("form.header10")@Messages("list.header2")</th>
				<th>@Messages("form.header11")@Messages("list.header1")</th>
				<th>@Messages("form.header11")@Messages("list.header2")</th>
			</tr>
		</thead>
		<tbody>
			@for(delRelation <- delRelations.sortBy(dcb => dcb.dcSeq)) {
				<tr>
					<td>@delRelation.parentBefore</td>
					<td>@delRelation.childBefore</td>
					<td>@delRelation.parentAfter</td>
					<td>@delRelation.childAfter</td>
				</tr>
			}
		</tbody>
	</table>
	<br />
	@form(routes.DesignChangeController.designChangeCancel(id: Long)) {
		<input type="hidden" id="id" value=designChangeForm("id") >
		<input type="submit" class="btn success" value=@Messages("btn.label5") >
	}
	<br />
    <a href="/designchangelist?page=0&key=">@Messages("title21")@Messages("title15")</a>
	
}