2012-03-21 17:51:16 +00:00
|
|
|
|
<!DOCTYPE HTML>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<%= page_title(@item).html_safe %>
|
2012-05-08 07:27:43 +00:00
|
|
|
|
<link rel="shortcut icon" href="<%= asset_path "ncculogo.ico" %>">
|
2012-03-21 17:51:16 +00:00
|
|
|
|
<%= page_metas(@item).html_safe %>
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
|
<%= javascript_include_tag "html5" %>
|
|
|
|
|
<![endif]-->
|
|
|
|
|
<%= page_stylesheets(@item).html_safe %>
|
|
|
|
|
<%= page_javascripts(@item).html_safe %>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2012-08-07 11:21:54 +00:00
|
|
|
|
<%= yield %>
|
|
|
|
|
<% if !flash.empty? %>
|
|
|
|
|
<div class="modal alert alert-error hide" id="myModal">
|
|
|
|
|
<p type="button" class="close" data-dismiss="modal">×</p>
|
|
|
|
|
<% flash.each do |key, msg| %>
|
|
|
|
|
<%= "<strong>#{msg}</strong><br/>".html_safe%>
|
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
<script>
|
|
|
|
|
$('#myModal').modal('show')
|
|
|
|
|
</script>
|
|
|
|
|
<% end -%>
|
2012-03-21 17:51:16 +00:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|