diff --git a/contrib/templates/default/board.mustache b/contrib/templates/default/board.mustache index 01dd049..71c07df 100644 --- a/contrib/templates/default/board.mustache +++ b/contrib/templates/default/board.mustache @@ -32,7 +32,7 @@
Catalog
- {{{form}}} + {{{board.PostForm}}}

diff --git a/contrib/templates/default/modlogin.mustache b/contrib/templates/default/modlogin.mustache index fb8e584..5f9643c 100644 --- a/contrib/templates/default/modlogin.mustache +++ b/contrib/templates/default/modlogin.mustache @@ -9,6 +9,7 @@ + {{{csrfField}}} diff --git a/contrib/templates/default/postform.mustache b/contrib/templates/default/postform.mustache index 4edf3a4..6a5370e 100644 --- a/contrib/templates/default/postform.mustache +++ b/contrib/templates/default/postform.mustache @@ -6,8 +6,10 @@ - reference ( the post we are replying to, or empty string if it's an op ) - button ( the text for the reply button ) - files ( bool, do we allow attachments ? ) + - csrf ( csrf token ) }}
+ {{{csrf}}}
diff --git a/contrib/templates/default/thread.mustache b/contrib/templates/default/thread.mustache index 8a9234e..ecbf3b9 100644 --- a/contrib/templates/default/thread.mustache +++ b/contrib/templates/default/thread.mustache @@ -3,7 +3,6 @@ template parameters: - board ( the Board Model of the board this thread was posted in ) - thread ( the Thread Model of the current thread being rendered ) - - form ( the post form markup ) Thread Model attributes: - OP , the Post Model of the original poster @@ -32,7 +31,7 @@
{{thread.Board}}
- {{{form}}} + {{{thread.PostForm}}}