This commit is contained in:
Toks
2013-06-19 00:22:08 -04:00
parent f5947d0aa0
commit e0d75220d1

View File

@@ -42,14 +42,14 @@
<% else %>
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
<% end %>
<% if forum_post.editable_by?(CurrentUser.user) %>
<% if forum_post.is_original_post? %>
<%= render "forum_topics/form", :forum_topic => forum_post.topic %>
<% else %>
<%= render "forum_posts/partials/edit/form", :forum_post => forum_post %>
<% end %>
<% end %>
</menu>
<% if forum_post.editable_by?(CurrentUser.user) %>
<% if forum_post.is_original_post? %>
<%= render "forum_topics/form", :forum_topic => forum_post.topic %>
<% else %>
<%= render "forum_posts/partials/edit/form", :forum_post => forum_post %>
<% end %>
<% end %>
</div>
<div class="clearfix"></div>
</article>