OSDN Git Service

Associate Reply with Atach
[open-pdm-light/PartList.git] / PartsList / PartsList / app / views / createReplyForm.scala.html
1 @(replyForm: Form[forms.ReplyForm], notifyId: Long, replyId: Long, replyType: Long, partId: Long, notifyType: Long, state: Long)(implicit lang: Lang)
2 @import helper._
3 @implicitFieldConstractor = @{ FieldConstructor(twitterBootstrapInput.f) }
4 @main("create reply by Play 2.1") {
5         <h1>@Messages("title17")</h1>
6         @form(routes.ReplyController.replyRegistration(notifyId, replyId, partId, notifyType, state), 'enctype -> "multipart/form-data") {
7                 @commonReplyForm(replyForm, replyType)
8         }
9         <br />
10         @if(notifyId!=0) {
11                 <a href="/notifyShow?id=@notifyId&partId=@partId&notifyType=@notifyType&state=@state">@Messages("notify.type0")@Messages("title16")</a>
12         } else {
13                 <a href="/replyShow?id=@replyId&partId=@partId&notifyType=@notifyType&replyType=1&state=@state">@Messages("title18")</a>
14         }
15 }
16