forked from thoughtbot/shoulda-matchers
/
full_list.erb
26 lines (23 loc) · 906 Bytes
/
full_list.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>" />
<% stylesheets_full_list.each do |stylesheet| %>
<link rel="stylesheet" href="<%= url_for(stylesheet) %>" type="text/css" media="screen" charset="utf-8" />
<% end %>
<% javascripts_full_list.each do |javascript| %>
<script type="text/javascript" charset="utf-8" src="<%= url_for(javascript) %>"></script>
<% end %>
<title><%= @list_title %></title>
<base id="base_target" target="_parent" />
</head>
<body>
<div id="content">
<h1 id="full_list_header"><%= @list_title %></h1>
<ul id="full_list" class="<%= @list_class || @list_type %>">
<%= erb "full_list_#{@list_type}" %>
</ul>
</div>
</body>
</html>