OSDN Git Service

initial commit
[open-pdm-light/PartList.git] / PartsList / PartsList / app / views / showNotifyForm.scala.html
1 @(notifyForm: Form[forms.NotifyForm], id: Long, partId: Long, notifyType: Long, state: Long)(implicit lang: Lang)
2 @import helper._
3 @implicitFieldConstructor = @{FieldConstructor(twitterBootstrapInput.f)}
4 @main("show notify by Play 2.1") {
5         <h1>@Messages("notify.type"+notifyType)@Messages("title16")</h1>
6         @commonNotifyForm(notifyForm, 1)
7         @form(routes.ReplyController.createReply(id, 0, notifyType, 0, partId, state)) {
8                 <input type="submit" value=@Messages("title17") class="btn success" >
9         }
10         @form(routes.NotifyController.updateState(id, partId, notifyType, state)) {
11                 <input type="submit" value=@Messages("notify.state1") class="btn success" >
12         }
13         <br />
14         <a href="/notifylist?page=0&partId=@partId&notifyType=@notifyType&state=@state">@Messages("notify.type"+notifyType)@Messages("list.link19")</a>
15 }