From d8470f4e0fc6bfafe9c096f41554ad3afa576851 Mon Sep 17 00:00:00 2001 From: Tom S Date: Thu, 22 Nov 2012 15:17:10 +0000 Subject: [PATCH] templates: move chat form into include file --- jqchat/templates/jqchat/_chat_form.html | 8 ++++++++ jqchat/templates/jqchat/chat_test.html | 8 +------- jqchat/templates/jqchat/chat_test_with_desc.html | 8 +------- 3 files changed, 10 insertions(+), 14 deletions(-) create mode 100644 jqchat/templates/jqchat/_chat_form.html diff --git a/jqchat/templates/jqchat/_chat_form.html b/jqchat/templates/jqchat/_chat_form.html new file mode 100644 index 0000000..9e1cd59 --- /dev/null +++ b/jqchat/templates/jqchat/_chat_form.html @@ -0,0 +1,8 @@ +
Loading...
+ +
+ + +
+
+ diff --git a/jqchat/templates/jqchat/chat_test.html b/jqchat/templates/jqchat/chat_test.html index 3db3b7c..fea9bb5 100644 --- a/jqchat/templates/jqchat/chat_test.html +++ b/jqchat/templates/jqchat/chat_test.html @@ -26,13 +26,7 @@

Room name: {{ room }}

-
Loading...
- -
- - -
-
+{% include 'jqchat/_chat_form.html' %} diff --git a/jqchat/templates/jqchat/chat_test_with_desc.html b/jqchat/templates/jqchat/chat_test_with_desc.html index 03c5b6c..d97cc3e 100644 --- a/jqchat/templates/jqchat/chat_test_with_desc.html +++ b/jqchat/templates/jqchat/chat_test_with_desc.html @@ -33,13 +33,7 @@

Room name: {{ room }}

Room description:

-
Loading...
- -
- - -
-
+{% include 'jqchat/_chat_form.html' %}
-- 2.39.5