From d2b9e763896f4c133afc598c85639f3ef53810f2 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 21 Feb 2016 16:51:56 -0500 Subject: [PATCH] update templates --- contrib/templates/default/board.mustache | 2 +- contrib/templates/default/modlogin.mustache | 1 + contrib/templates/default/postform.mustache | 2 ++ contrib/templates/default/thread.mustache | 3 +-- 4 files changed, 5 insertions(+), 3 deletions(-) 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}}}