<!DOCTYPE html>
<html>
<head>
  <title><%= yield :page_title %> - Beta.Gov.uk Publisher</title>
  <%= stylesheet_link_tag '/stylesheets/formtastic.css', '/stylesheets/formtastic_changes.css', '/stylesheets/admin/jquery-ui-1.8.14.css' %>
  <%= csrf_meta_tag %>
  <%= yield :extra_headers %>
</head>
<body>

  <div id="wrapper" class="wrapper">

    <div class="content" role="main">

      <% [:notice, :alert].select { |k| flash[k].present? }.each do |k| %>
        <p class="flash-<%= k %>">
          <%= flash[k] %>
        </p>
      <% end %>

      <% unless current_page?(admin_root_path) or current_page?(root_path) %>
        <p class="return"><%= link_to 'Return to dashboard', admin_root_path %></p>
      <% end %>

      <%= yield %>

      <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
      <%= javascript_include_tag '/guide-assets/javascripts/application.js', '/javascripts/jquery.mustache.js', '/javascripts/jquery-ui-1.8.14.custom.min.js', '/guide-assets/javascripts/form-tools.js' %>
      <%= yield :extra_javascript %>

    </div>
  </div>

</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title><%= yield :page_title %> - Beta.Gov.uk Publisher</title>
  <%= stylesheet_link_tag '/stylesheets/formtastic.css', '/stylesheets/formtastic_changes.css', '/stylesheets/admin/jquery-ui-1.8.14.css' %>
  <%= csrf_meta_tag %>
  <%= yield :extra_headers %>
</head>
<body>

  <h2 id="site-title">Publisher</h2>

  <div id="wrapper" class="wrapper">
    
    <div class="content" role="main">

      <% [:notice, :alert].select { |k| flash[k].present? }.each do |k| %>
        <p class="flash-<%= k %>">
          <%= flash[k] %>
        </p>
      <% end %>

      <% unless current_page?(admin_root_path) or current_page?(root_path) %>
        <p class="return"><%= link_to 'Return to dashboard', admin_root_path %></p>
      <% end %>

      <%= yield %>

      <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
      <%= javascript_include_tag '/guide-assets/javascripts/application.js', '/javascripts/jquery.mustache.js', '/javascripts/jquery-ui-1.8.14.custom.min.js', '/guide-assets/javascripts/form-tools.js' %>
      <%= yield :extra_javascript %>

    </div>
  </div>

</body>
</html>

Add site title to application layout so slimmer knows what title to show in the admin template
Add site title to application layout so slimmer knows what title to show in the admin template
