2018-01-07 23:10:03 +05:30
|
|
|
<% content_for "header" do %>
|
2018-01-07 23:19:48 +05:30
|
|
|
<%= query.size > 30 ? query[0,30] + "... - " : query %>
|
2018-01-07 23:10:03 +05:30
|
|
|
<% end %>
|
2018-01-07 08:09:24 +05:30
|
|
|
<% videos_list.each do |video| %>
|
2018-01-07 23:13:13 +05:30
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-1 pure-u-md-1-6">
|
|
|
|
<a class="link" href="/watch?v=<%= video.id %>">
|
|
|
|
<img style="width: 90%" src="<%= video.info["thumbnail_url"] %>">
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-1 pure-u-md-5-6">
|
|
|
|
<a style="width: 100%; height:100%; display: block; position: relative" class="link" href="/watch?v=<%= video.id %>">
|
|
|
|
<%= video.info["title"] %>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-31 02:51:43 +05:30
|
|
|
<% end %>
|