%= erb(:headers) %>
<% if options[:all_resources] %>
<% if api_options['one_file'] %>
<% static_pages.each do |page| %>
<%= diskfile page[:src] %>
<% end %>
<% end %>
<% options[:resources].each do |resource, controllers| %>
<%= yieldall object: resource, controllers: controllers %>
<% end %>
<% else %>
<%= yieldall %>
<% end %>
<%= erb(:footer) %>
<%= erb(:scripts) %>