2018-01-07 17:40:03 +00:00
|
|
|
<% content_for "header" do %>
|
2018-01-15 03:16:09 +00:00
|
|
|
<%= query.size > 30 ? query[0,30].chomp("...") + "... - " : query + " - " %>
|
2018-01-07 17:40:03 +00:00
|
|
|
<% end %>
|
2018-01-15 03:16:09 +00:00
|
|
|
|
|
|
|
<% videos.each do |item| %>
|
|
|
|
<p><a class="link" href="<%= item["link"] %>"><%= item["title"] %></a></p>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<p style="text-align: right"><a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a></p>
|