fixes #1757
This commit is contained in:
@@ -42,14 +42,14 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
|
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
|
||||||
<% end %>
|
<% 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>
|
</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>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user