-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtester.html.erb
47 lines (37 loc) · 1.25 KB
/
tester.html.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<h1><%= @name %></h1>
<h2>Director Credits (<%= @director_credits.size %>)</h2>
<ul>
<% @director_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>
<h2>Producer Credits (<%= @producer_credits.size %>)</h2>
<ul>
<% @producer_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>
<h2>Editor Credits (<%= @editor_credits.size %>)</h2>
<ul>
<% @editor_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>
<h2>Writer Credits (<%= @writer_credits.size %>)</h2>
<ul>
<% @writer_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>
<h2>Screenplay Credits (<%= @screenplay_credits.size %>)</h2>
<ul>
<% @screenplay_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>
<h2>Actor Credits (<%= @actor_credits.size %>)</h2>
<ul>
<% @actor_credits.each do |credit| %>
<li><%= link_to "#{credit[:title]}", movie_more_path(tmdb_id: "#{credit[:id]}") %></li>
<% end %>
</ul>