Sha256: b054e15db528241d95576f6afa386ef00fdb32c0fc93749aad827daa2336f25d

Contents?: true

Size: 660 Bytes

Versions: 8

Compression:

Stored size: 660 Bytes

Contents

- @post.each do |post|
  -if post
    .ui-widget-content{:post_id=>post.id , :data_time=>post.created_at.to_i }
      .user.left{:style=>'width:100px; '}
        -if post.user
          = gravatar_url_for(post.user.email)
        -else
          = gravatar_url_for('aasdasasd')
      .title
        -if post.user
          = link_to post.user.username, post.user
        -else
          %b=post.name
        hace 
        = time_ago_in_words(post.created_at)
        -if can? :edit, post
          = link_to 'Editar', edit_post_path(post)
          = link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete
      .entry
        = raw post.body

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
squeezer-0.2.1 app/views/comments/_post.html.haml
squeezer-0.2.0 app/views/comments/_post.html.haml
squeezer-0.1.11 app/views/comments/_post.html.haml
squeezer-0.1.7 app/views/comments/_post.html.haml
squeezer-0.1.6 app/views/comments/_post.html.haml
squeezer-0.1.5 app/views/comments/_post.html.haml
squeezer-0.1.4 app/views/comments/_post.html.haml
squeezer-0.1.3 lib/app/views/comments/_post.html.haml