diff --git a/app/assets/javascripts/franceconnect_kit.js b/app/assets/javascripts/franceconnect_kit.js index 5d6b9d09c..f641881c3 100644 --- a/app/assets/javascripts/franceconnect_kit.js +++ b/app/assets/javascripts/franceconnect_kit.js @@ -2,6 +2,6 @@ $(document).on('page:load', franceconnect_kit); $(document).ready(franceconnect_kit); function franceconnect_kit() { - //franceConnectKit.init(); + } diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 69e964c4d..ff95e38cb 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -4,6 +4,8 @@ %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %title TPS - Téléprocédures simplifiées %meta{'http-equiv' => "X-UA-Compatible", :content => "IE=edge"} + %script{src: 'http://fcp.integ01.dev-franceconnect.fr/js/franceconnect.js'} + = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true = javascript_include_tag 'application', 'data-turbolinks-track' => true = csrf_meta_tags @@ -48,5 +50,3 @@ %div{:style => 'margin-left:10%; margin-right:10%;'} = yield - - %script{src: 'http://fcp.integ01.dev-franceconnect.fr/js/franceconnect.js'}