mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
16 lines
No EOL
397 B
Text
16 lines
No EOL
397 B
Text
<div class="header">Latest Movies</div>
|
|
<div class="body">
|
|
<div class="content">
|
|
<% Movie.recent.ordered.limit(3).each do |movie| %>
|
|
<div class="movie">
|
|
<p>
|
|
<%= image_tag movie.picture.url, :width => 100, :height => 75 %>
|
|
</p>
|
|
<%= namelink movie %>
|
|
</div>
|
|
<% end %>
|
|
<p>
|
|
<%= link_to "More..", movies_path %>
|
|
</p>
|
|
</div>
|
|
</div> |