<%= render_topic_title(@topic_view.topic) %>


<% @topic_view.posts.each do |post| %>
#<%=post.post_number%> <%= t 'by'%>: <%= post.user.name %>, <%= post.created_at.to_formatted_s(:long_ordinal) %>
<%= post.cooked.html_safe %>

<% end %> <% if @topic_view.next_page %>

<%= link_to(t('next_page').html_safe, @topic_view.next_page_path ) %>

<% end %>

<%= t 'powered_by_html' %>

<% content_for :head do %> <%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %> <% end %>