<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
	<title><%= @title || APP_CONFIG['orbit'] %></title>
	<link rel="shortcut icon" href="<%= asset_path "ncculogo.ico" %>">
	<!--[if lt IE 9]>
	   <%= javascript_include_tag "html5" %>
	<![endif]-->
	<%= stylesheet_link_tag "new_admin" %>
	<%= javascript_include_tag "new_admin" %>
	<%= yield :page_specific_css %>
	<%= yield :page_specific_javascript %>
	<%= csrf_meta_tag %>
</head>
<body class="folded">
	<%= render 'layouts/orbit_bar' %>
	<% if !(yield :side_bar).blank? %>
	 	<%= yield :side_bar %>
	<% else %>
	 	<%= render 'layouts/side_bar' %>
	<% end %>

	<div id="main-wrap">
		<%= yield %>
	</div>
</body>
</html>