<h1>Wątki na forum:</h1>

<% for post in @posts %>
  <% get_indentation(post).times do %>_&nbsp;<% end %>
  <%= post.subject %>
  <i>[
    <% unless post.send(post.parent_column) == nil %>
      <%= link_to "zobacz", :action => "view", :post => post.id %> | 
    <% end %>
    <%= link_to "odpowiedz", :action => "new", :parent => post.id %>
  ]</i>
<% end %>