From 7fe7a8f2926e4cad3b9c2f18d83cdf41a4651687 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 19 Jul 2014 01:40:01 +0200 Subject: [PATCH] Move passwords modal in separated templates so they can be reused --- templates/default/join.html.ep | 111 +----------------- templates/default/join_password_modal.html.ep | 48 ++++++++ .../default/owner_password_modal.html.ep | 61 ++++++++++ 3 files changed, 112 insertions(+), 108 deletions(-) create mode 100644 templates/default/join_password_modal.html.ep create mode 100644 templates/default/owner_password_modal.html.ep diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index 1454a97..9296a11 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -846,114 +846,9 @@ - - -%= include 'noscript' +%=include 'owner_password_modal' +%=include 'join_password_modal' +%=include 'noscript'