From d189b2ec0684926e1d0fdff0b3d535fed9006be0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 4 Apr 2014 11:14:03 +0200 Subject: [PATCH] Put all JS stuff in its own ep template, so it can be included easily in the different pages --- templates/default/index.html.ep | 5 +---- templates/default/join.html.ep | 8 +------- templates/default/js_include.html.ep | 7 +++++++ 3 files changed, 9 insertions(+), 11 deletions(-) create mode 100644 templates/default/js_include.html.ep diff --git a/templates/default/index.html.ep b/templates/default/index.html.ep index a874213..10ebd83 100644 --- a/templates/default/index.html.ep +++ b/templates/default/index.html.ep @@ -64,8 +64,5 @@ - - - - +%= include 'js_include' %= include 'footer' diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index c108453..4a9826e 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -101,13 +101,7 @@
- - - - - - - +%= include 'js_include' + + + + + +