2011-03-27 22:56:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title><%= @title.nil? ? (@menu.nil? ? t(:application_name) : @menu.capitalize + ' - ' + t(:application_name)) : @title + ' - ' + t(:application_name) %></title>
|
2012-02-10 00:26:47 +01:00
|
|
|
<%= stylesheet_link_tag "application" %>
|
|
|
|
<%= javascript_include_tag "application" %>
|
|
|
|
<%= csrf_meta_tag %>
|
2011-03-27 22:56:15 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="wrapper">
|
|
|
|
<div id="header"><div class="fixedwidth"><%= render 'layouts/header' %></div></div>
|
|
|
|
<div id="menuwrap" class="fixedwidth"><%= render 'layouts/menu' %></div>
|
|
|
|
<div id="content" class="fixedwidth"><%= yield %></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|