From beaf54107c58c13b01017e295cf9ca626efc51c2 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley Date: Thu, 8 Dec 2016 15:44:17 +0000 Subject: [PATCH] Moved angular template to views folder --- .../registration/_introduction.html.haml} | 0 app/views/registration/index.html.haml | 3 +++ 2 files changed, 3 insertions(+) rename app/{assets/javascripts/templates/registration/introduction.html.haml => views/registration/_introduction.html.haml} (100%) diff --git a/app/assets/javascripts/templates/registration/introduction.html.haml b/app/views/registration/_introduction.html.haml similarity index 100% rename from app/assets/javascripts/templates/registration/introduction.html.haml rename to app/views/registration/_introduction.html.haml diff --git a/app/views/registration/index.html.haml b/app/views/registration/index.html.haml index fdeef18534..2af462cf54 100644 --- a/app/views/registration/index.html.haml +++ b/app/views/registration/index.html.haml @@ -5,4 +5,7 @@ = inject_available_countries = inject_enterprise_attributes +%script{type: "text/ng-template", id: "registration/introduction.html"} + = render partial: "registration/introduction" + %div{ "ng-controller" => "RegistrationCtrl" }