@(notifyForm: Form[forms.NotifyForm], id: Long, partId: Long, notifyType: Long, state: Long, notify:Notify)(implicit lang: Lang)
@import helper._
@implicitFieldConstructor = @{FieldConstructor(twitterBootstrapInput.f)}
@main("show notify by Play 2.1") {
	<h1>@Messages("notify.type"+notifyType)@Messages("title16")</h1>
	@form(routes.NotifyController.appendAtach(id, partId, notifyType, state), 'enctype -> "multipart/form-data") {
		@commonNotifyForm(notifyForm, 1)
		<input type="submit" value=@Messages("list.header5") class="btn success">
	}
	@form(routes.ReplyController.createReply(id, 0, notifyType, 0, partId, state)) {
		<input type="submit" value=@Messages("title17") class="btn success" >
	}
	@form(routes.NotifyController.updateState(id, partId, notifyType, state)) {
		<input type="submit" value=@Messages("notify.state1") class="btn success" >
	}
	<br />
   	<table>
   	<tr><th>@Messages("form.header2")</th><th></th></tr>
    @for(atach <- notify.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>
}