fixes #1757
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
|
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</menu>
|
||||||
<% if forum_post.editable_by?(CurrentUser.user) %>
|
<% if forum_post.editable_by?(CurrentUser.user) %>
|
||||||
<% if forum_post.is_original_post? %>
|
<% if forum_post.is_original_post? %>
|
||||||
<%= render "forum_topics/form", :forum_topic => forum_post.topic %>
|
<%= render "forum_topics/form", :forum_topic => forum_post.topic %>
|
||||||
@@ -49,7 +50,6 @@
|
|||||||
<%= render "forum_posts/partials/edit/form", :forum_post => forum_post %>
|
<%= render "forum_posts/partials/edit/form", :forum_post => forum_post %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</menu>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in New Issue
Block a user