<div class="post">
  <div class="post_title">
    <%= sanitize post.title %>
    <% unless hide_edit_links? %>
      <span style="float:right">
      <%= link_to_unless_current 'Poka', blog_post_path(post.blog, post) %> |
      <%= link_to_unless_current 'Edytuj', edit_blog_post_path(post.blog, post) %> |
      <%= link_to 'Usu', blog_post_path(post.blog, post),
                       :confirm => 'Czy jeste pewny?', :method => :delete %>
      </span>
    <% end %>
  </div>
<div class="post_body"><%= sanitize post.body %></div>
<div class="post_creation_date">
  Przesany <%= time_ago_in_words post.created_at %> temu
  <% if post.updated_at != post.created_at %>
    <br /> Zmodyfikowany <%= time_ago_in_words post.updated_at %> temu
  <% end %>
  </div>
</div>

