invidious-experimenting/src/views/search.ecr

9 lines
336 B
Plaintext
Raw Normal View History

2018-01-07 23:10:03 +05:30
<% content_for "header" do %>
2018-01-15 08:46:09 +05:30
<%= query.size > 30 ? query[0,30].chomp("...") + "... - " : query + " - " %>
2018-01-07 23:10:03 +05:30
<% end %>
2018-01-15 08:46:09 +05:30
<% 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>