Skip to content

Commit

Permalink
Merge pull request #27 from ngirardin/master
Browse files Browse the repository at this point in the history
Docs: add missing code block
  • Loading branch information
Peter Hilton committed Aug 31, 2011
2 parents b9980ab + 2b1a285 commit dc443ed
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion documentation/manual/guide5.textile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,15 @@ bc. def show(id: Long) = {
}
}

And now the form in the **/yable/app/views/Application/show.scala.html** template:
Add the **randomID** field to the **/yable/app/views/Application/show.scala.html** template:

bc. @(
post:(models.Post, models.User, Seq[models.Comment]),
pagination:(Option[models.Post], Option[models.Post]),
randomID:String
)...

Then update the form:

bc. ...
<p>
Expand Down

0 comments on commit dc443ed

Please sign in to comment.