dummy/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title><%= t('layout.title') %></title>
<meta charset='utf-8'>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%= stylesheet_link_tag 'voluntary/application', media: 'all' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet"/>
</head>
<body>
<%= render 'layouts/shared/navigation' %>
<section id="dialog">
<img alt="Ajax-loader-small" class="hide " id="dialog_body_spinner" src="<%=image_path('voluntary/spinner.gif')%>"/>
<div id="dialog_body"/>
</section>
<div class="container-fluid">
<% unless flash.empty? %>
<div class="row-fluid">
<div class="span12">
<%= render 'layouts/shared/flash_messages' %>
</div>
</div>
<% end %>
<div class="row-fluid">
<% if sidenav(@sidenav_links_count).present? %>
<div class="span9">
<%= breadcrumbs %>
<%= yield %>
</div>
<div class="span3">
<%= sidenav(@sidenav_links_count) %>
</div>
<% else %>
<div class="span12">
<%= breadcrumbs %>
<%= yield %>
</div>
<% end %>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid footer">
<div class="span12">
<%= footer_navigation %>
</div>
</div>
</div>
<%= javascript_include_tag 'voluntary/application' %>
<%= javascript_include_tag 'application' %>
<%= yield :javascript_includes %>
<%= csrf_meta_tags %>
<%= javascript_tag do %>
<%= yield :top_javascript %>
$(function() {
<%= yield(:document_ready) %>
});
<% end %>
</body>
</html>