converted haml templates

This commit is contained in:
albert
2010-10-28 20:11:17 -04:00
parent fc0a076aca
commit d0d3487fc8
12 changed files with 118 additions and 69 deletions

View File

@@ -0,0 +1,13 @@
<div class="comments">
<div class="index">
<% @posts.each do |post| %>
<div class="post">
<div class="preview">
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</div>
<%= render :partial => "comments/partials/index/list", :locals => {:post => post, :comments => post.comments.recent.reverse, :show_header => true} %>
<div class="clearfix"></div>
</div>
<% end %>
</div>
</div>