@(replyForm: Form[forms.ReplyForm], id: Long, partId: Long, notifyType: Long, replyType: Long, state: Long, reply:Reply)(implicit lang: Lang)
@import helper._
@implicitFiedConstructor = @{FieldConstructor(twitterBootstrapInput.f)}
@main("showReply by Play 2.1") {
	<h1>@Messages("title18")</h1>
	@form(routes.ReplyController.appendAtach(id, partId, notifyType, replyType, state), 'enctype -> "multipart/form-data") {
		@commonReplyForm(replyForm, replyType)
		<input type="submit" value=@Messages("list.header5") class="btn success">
	}
	<br />
	@form(routes.ReplyController.createReply(0, id, notifyType, 0, partId, state)) {
		<input type="submit" value=@Messages("title17") class="btn success">
	}
	<br />
   	<table>
   	<tr><th>@Messages("form.header2")</th><th></th></tr>
    @for(atach <- reply.atachs) {
    		<tr><td><a href="/showAtach?id=@atach.id">@atach.fileName</a></td>
    		<td><a href="/dropAtach?id=@atach.id">@Messages("list.link14")</a></td></tr>
    }
   	</table>
   	<hr />
	<a href="/notifylist?page=0&partId=@partId&notifyType=@notifyType&state=@state">@Messages("notify.type" + notifyType)@Messages("list.link19")</a>
}