Sha256: 5d67d03f2c3805736af01ce2728201ddcbf2b029ed82abc8ce448a014d42180c

Contents?: true

Size: 993 Bytes

Versions: 2

Compression:

Stored size: 993 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
 
  <title><%= [@page_title, ActiveAdmin.site_title].join(" | ") %></title>

  <%= stylesheet_link_tag *ActiveAdmin.stylesheets %>
  <%= javascript_include_tag *ActiveAdmin.javascripts %>
  <%= csrf_meta_tag %>

</head>
<body>
<div id="wrapper">
  <div id="header">
    <h1 id="site_title"><%= ActiveAdmin.site_title %></h1>
    <%= ActiveAdmin.tabs_renderer.new(self).to_html(current_menu) %>
  </div>
  <div id="title_bar">
    <%= yield :title_bar %>
  </div>
  <div id="content" class="<%= skip_sidebar? ? 'without_sidebar' : 'with_sidebar' %>">
    <%= yield :flash_messages %>
    <div id="main_content_wrapper">
      <div id="main_content">
        <%= yield %>
      </div>
    </div>
    <% unless skip_sidebar? %>
      <div id="sidebar">
        <%= yield :sidebar %>
      </div>
    <% end %>
  </div>
  <div id="footer">
    <%= yield :footer %>
  </div>
</div>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-0.1.1 lib/active_admin/views/layouts/active_admin.html.erb
activeadmin-0.1.0 lib/active_admin/views/layouts/active_admin.html.erb