<%# This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) Jade Systems Inc. 2013, 2014
%>
<%# TODO Dry this up with the application template. %>
<!DOCTYPE html>
<html>
  <head>
    <title>Positive Behaviour Support</title>
    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>
    <script type="text/javascript">
      $(document).ready(function() {
        $('a.time_zone').each(function() {
          this.href = this.href + "?time_zone=" 
            + encodeURIComponent($().get_timezone());
        });
      });
    </script>
  </head>
  <body>
    <div id="welcome">
      <div class="centre_in_browser">
        <%= yield %>
      </div>
    </div>
  </body>
</html>

<%# This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) Jade Systems Inc. 2013, 2014
%>
<%# TODO Dry this up with the application template. %>
<!DOCTYPE html>
<html>
  <head>
    <title><%= title || "Positive Behaviour Support" %></title>
    <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>
    <script type="text/javascript">
      $(document).ready(function() {
        $('a.time_zone').each(function() {
          this.href = this.href + "?time_zone=" 
            + encodeURIComponent($().get_timezone());
        });
      });
    </script>
  </head>
  <body>
    <div id="welcome">
      <div class="centre_in_browser">
        <%= yield %>
      </div>
    </div>
  </body>
</html>

Fix title on welcom page.
Fix title on welcom page.
