post replacement: add "Replace Image" dialog to post sidebar.

This commit is contained in:
evazion
2017-03-31 13:37:57 -05:00
parent df7cd67a7d
commit 4e841c4ea5
5 changed files with 49 additions and 0 deletions

View File

@@ -121,6 +121,10 @@
<%= render "post_appeals/new", post_appeal: @post.appeals.new %>
</div>
<div id="replace-image-dialog" class="prose" title="Replace image" style="display: none;">
<%= render "moderator/post/posts/replace" %>
</div>
<div id="add-to-pool-dialog" title="Add to pool" style="display: none;">
<%= render "pool_elements/new" %>
</div>